ActiveX browser SHDocVw..how can I search for ID Tags for EACH URL navigation?

  • Thread starter Thread starter tonylc
  • Start date Start date
T

tonylc

Hey guys,
I'm tryign to write an application that will allow me to browse the
web while at the same time keep on the lookout for certain ID Tags.
I'm using the interfaces from SHDocVw.IWebBrowser2 and IHTMLDocument3.
Is there a way to do to call getElementById on each navigation using
these interfaces?

I did see a SHDocVw.DWebBrowserEvents2 interface that looks like it may
be able to help me do that

void NavigateComplete2(
IDispatch *pDisp,
VARIANT *URL
);

but I'm not exactly sure how to register a DWebBrowserEvents2 to my
IWebBrowser object. Any help to clarify this issue would be great!

Thanks!
Tony
 
Back
Top