><[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>It seems to me that there is no way to create a new instance of Internet
>Explorer (if there are already some IE windows opened).
>Does anyone know a possible solution? Or a workaround (without using
>startfile, maybe?) that will force IE to create a new instance?
>Should I suppose no solution exists?
>Thanks for every suggestions.
>Andrea
import pythoncom
from win32com.client import Dispatch
ie1 = pythoncom.CoCreateInstance("InternetExplorer.Application", None,\
pythoncom.CLSCTX_SERVER,
pythoncom.IID_IDispatch)
ie1 = Dispatch(ie1)
ie1.Visible = 1
ie2 = pythoncom.CoCreateInstance("InternetExplorer.Application", None,\
pythoncom.CLSCTX_SERVER,
pythoncom.IID_IDispatch)
ie2 = Dispatch(ie2)
ie2.Visible = 1
....and so on for as many instances as you want.
HTH.
--
http://mail.python.org/mailman/listinfo/python-list