Accessing IE via COM or ActiveX
-
I need to "talk to" an IE session from another application. I presume this is done either over a COM inteface to IE, or by making the "other application" an ActiveX control and installing it as an IE "plug-in". You can probably tell that I'm not quite sure what I'm talking about here, as I am not very familiar with ActiveX or COM. (However I am an experienced C++, VC and MFC programmer). Can anyone give me a few pointers, and maybe recommend some books, articles or sites. Thanks. Dave
-
I need to "talk to" an IE session from another application. I presume this is done either over a COM inteface to IE, or by making the "other application" an ActiveX control and installing it as an IE "plug-in". You can probably tell that I'm not quite sure what I'm talking about here, as I am not very familiar with ActiveX or COM. (However I am an experienced C++, VC and MFC programmer). Can anyone give me a few pointers, and maybe recommend some books, articles or sites. Thanks. Dave
If you make code usng ATL, HTML control must be answer. Core : Your code implements IObjectWithSite then IE will use SetSite() method to pass to your code the IUnknown pointer to its site object. Then you can query IServiceProvider and you get IWebBrowser2 pointer. That's it..!