Change in IE COM behavior

Carlos Gaston Alvarez cgaston at moonqzie.com
Thu Sep 6 17:07:23 CEST 2001


At last something I can answer. (I am new to python).

use:
win32com.client.DispatchEx("InternetExplorer.Application")

So it will do things in a new instance. It seems that without the Ex it
recicles windows.

Chau,

Gaston



----- Original Message -----
From: "Chris Prinos" <cprinos at foliage.com>
Newsgroups: comp.lang.python
To: <python-list at python.org>
Sent: Thursday, September 06, 2001 3:09 PM
Subject: Change in IE COM behavior


> I had for some time been using the win32com.client package to control
> MS Internet Explorer, but recently have seen a change in it's
> behavior. What used to happen is that each time I called
> win32com.client.Dispatch('InternetExplorer.Application') I would get a
> new instance of the browser.
>
> Now when I do it, I get attached to the topmost _existing_ browser
> window (could be an IE window, or an explorer window). Subsequent
> calls attach to the same instance, rather than creating new ones. It
> is probably some recent installation/update that caused this, but I'm
> not sure where to start looking... has anyone seen this before?
>
> I'm running Python 2.1 (ActiveState build 211) with win2k (latest
> service pak applied) and IE 5.5.
>
> Chris
> --
> http://mail.python.org/mailman/listinfo/python-list
>





More information about the Python-list mailing list