Hello.
I used OLE automation to control a InternetExplorer object. This is the code I put in the Declarations section:
Private MyIE As SHDocVw.InternetExplorer
And this is how I created the object in Form_Load:
Set MyIE = CreateObject("InternetExplorer.Application"
MyIE.Visible = True
However, it always create a new instance of IE, while I want it to refer to an already running copy of explorer. I've tried with GetObject, but all I get is the "ActiveX component can't create the object" error.
Please help me.
Thanks in advance.
--
Lorenzo
I used OLE automation to control a InternetExplorer object. This is the code I put in the Declarations section:
Private MyIE As SHDocVw.InternetExplorer
And this is how I created the object in Form_Load:
Set MyIE = CreateObject("InternetExplorer.Application"
MyIE.Visible = True
However, it always create a new instance of IE, while I want it to refer to an already running copy of explorer. I've tried with GetObject, but all I get is the "ActiveX component can't create the object" error.
Please help me.
Thanks in advance.
--
Lorenzo