ActiveX accessing 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