E
ewhite2142
I am writing code in VB.Net to access data from the Internet. If I write
the following code, I get access to a new instance of Internet Explorer:
Imports SHDocVw
Dim Br as New InternetExplorer
Br.Navigate(http://www.URL.com)
However, I want to access the instance of Internet Explorer already running,
not create a new instance. I tried the following code, and I get an
exception stating it could not open ActiveX object.
Imports SHDocVw
Dim Br as InternetExplorer
Br=GetObject( , "InternetExplorer.Application")
How do I get access to an existing instance of Internet Explorer?
the following code, I get access to a new instance of Internet Explorer:
Imports SHDocVw
Dim Br as New InternetExplorer
Br.Navigate(http://www.URL.com)
However, I want to access the instance of Internet Explorer already running,
not create a new instance. I tried the following code, and I get an
exception stating it could not open ActiveX object.
Imports SHDocVw
Dim Br as InternetExplorer
Br=GetObject( , "InternetExplorer.Application")
How do I get access to an existing instance of Internet Explorer?