[python-win32] New IE instance instead of reusing an existing one

python-win32 at netchan.cotse.net python-win32 at netchan.cotse.net
Mon Aug 4 16:48:04 EDT 2003


The following snippet creates only one instance of IE. Why?

-------------------------------------------------------------
ie1 = win32com.client.Dispatch("InternetExplorer.Application")
ie1.Visible = 1

ie2 = win32com.client.Dispatch("InternetExplorer.Application")
ie2.Visible = 1
-------------------------------------------------------------

How can I force Dispatch to create a new instance?

Thanks,
Sandor




More information about the Python-win32 mailing list