Windows Service WebBrowser DocumentCompleted Bug

Posted by Sam Youtsey on Stack Overflow See other posts from Stack Overflow or by Sam Youtsey
Published on 2010-03-24T17:27:35Z Indexed on 2010/03/24 17:33 UTC
Read the original article Hit count: 322

Filed under:
|
|
|

I've been building a Windows Service to create a WebBrowser object to navigate, login, and download a site's HTML. However, I recently discovered this bug which prevents the DocumentCompleted event from firing if the WebBrowser is not visible:

http://support.microsoft.com/kb/259935

I've got to assume this is because the Windows Service doesn't allow for a GUI and therefore this bug is tripped. What is the best workaround for this? Thanks for your help.

© Stack Overflow or respective owner

Related posts about windowsservice

Related posts about webbrowser