Re: Webbrowser, htmldocument and documentComplete event

Tech-Archive recommends: Speed Up your PC by fixing your registry



WebBrowser is intended to be used as a winform control, and will delay
loading until it is displayed. Since you aren't hosting it anywhere, I
wouldn't expect it to do anything.

If your dll is used from a winform app, then it could perhaps create
an invisible (offscreen? transparent?) form [I suspect Visible=false
will not work] for hosting the WebBrowser; however, this would be an
inappropriate solution if the dll is used from a service app
(including ASP.NET).

If you are using a service app, perhaps use WebClient to do the HTTP
request, and then parse the response text.

Marc
.



Relevant Pages