[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 18:13:03 EDT 2003
For the archives: Using DispatchEx instead of Dispatch solves the
problem
Sandor
> -----Original Message-----
> From: python-win32-bounces at python.org
> [mailto:python-win32-bounces at python.org] On Behalf Of
> python-win32 at netchan.cotse.net
> Sent: Monday, August 04, 2003 3:48 PM
> To: python-win32 at python.org
> Subject: [python-win32] New IE instance instead of reusing an
> existing one
>
>
> 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
>
>
> _______________________________________________
> Python-win32 mailing list
> Python-win32 at python.org
> http://mail.python.org/mailman/listinfo/python-win32
>
>
>
More information about the Python-win32
mailing list