Is it possible for an ActiveX control to access the DOM of the page?
-
Hi everybody!! I'm developing a web application that has embedded an activeX control. For some specific purposes I need the activeX to access the DOM elements of the page that contains it, but I don't know if this is possible. So, I need to now: first if this can be done and if so, how I could do it. Any help or ideas will be appreciated. Thanks Kenia
Kenia
-
Hi everybody!! I'm developing a web application that has embedded an activeX control. For some specific purposes I need the activeX to access the DOM elements of the page that contains it, but I don't know if this is possible. So, I need to now: first if this can be done and if so, how I could do it. Any help or ideas will be appreciated. Thanks Kenia
Kenia
yes its possible, get IHTMLDocument2 pointer/object and you can access the element info, using several Interfaces provided by IE. look in MSDN for IHTML** interfaces...
Cheers, Vishal
-
yes its possible, get IHTMLDocument2 pointer/object and you can access the element info, using several Interfaces provided by IE. look in MSDN for IHTML** interfaces...
Cheers, Vishal