Hi NG,
I would like to write a specific library that gets it data from a specific
webpage.
Because not all web sites are XHTML I guess I have to use the old com
library
MSHTML. Beacause it should be all done in the library without forms I cant
use
the AxWebBrowser ocx. Thats why I tried the following:
((IHTMLDocument2)hd).write("<html></html>");
((IHTMLDocument2)hd).close();
ihd2 = ((IHTMLDocument4)hd).createDocumentFromUrl(sURL, "null");
while(ihd2.readyState != "complete")
{
Thread.Sleep(0);
}
Unfortunally it seems, that the readystatechange event will never be fired.
Is that, because of
the missing ocx? I've also tried to attach the event. How would you
implement that?
Thanks
Thomas