I am looking for ideas on how to take screenshots of websites in a .NET application. This application will be a Windows service. Thank!
Check out the following links:
http://pietschsoft.com/post/2008/07/C-Generate-WebPage-Thumbmail-Screenshot-Image.aspx
http://www.dotnetspider.com/resources/28436-Code-get-screenshot-webpage.aspx
You cannot show forms using WindowsServices. However, try creating a form with the WebBrowser component, the URL to fill out, browser.OnPageLoaded => myBrowser.DrawToBitmap .. who knows.
MSHTML , , .
Please note, however, that the MSHTML component may not work correctly when starting the service without a visual interface (for example, without interacting with the desktop).