Createobject InternetExplorer.Application starting two instances

W

Walter Briscoe

I run Windows XP and Office 2003.
I was running IE7 and upgraded to IE8 hoping to be rid of this problem.
I run the following VBA code from either Excel or Word:
Set IE = CreateObject("InternetExplorer.Application") ' 1
IE.Visible = True ' 2
IE.Navigate2 "www.google.com" ' 3

At ' 2, a "non-standard" IE instance is opened with "Favorites" open;
At ' 3, a second "standard" IE instance is opened.

On another similar machine, only one instance is opened.
I infer the second instance is a child of the first.
I want one instance and want to communicate with it via the IE object.

Doubtless something on my machine is corrupt.
On Googling, I failed to find a description of such a problem.
If pointed in the right direction, I am quite happy to refresh the code
which creates an IE object. I just want to be rid of the problem.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top