Tag Archives: WebBrowser control

Blank the WebBrowser control in C#

If a program displays a web page in a WebBrowser control and then that page become irrelevant to the program, you may want to blank the control. Doing that is as easy as making the control navigate to the special … Continue reading

Posted in controls, internet, web | Tagged , , , , , , , , , , , | Leave a comment

Display Google Maps for the computer’s location in C#

This example combines the techniques of the following two posts to display the computer’s current location in Google Maps: Use the Location API to find the computer’s latitude and longitude in C# Display Google maps for an address inside a … Continue reading

Posted in graphics, internet, system | Tagged , , , , , , , , , , , , , , , , , , , , , | 1 Comment

Display Google Maps for an address inside a form in C#

This was a lot easier until changes to Google Maps and the WebBrowser control added some rather annoying complications. The idea is simple. You use the techniques described in Display Google Maps for an address in C# to get a … Continue reading

Posted in graphics, internet, system | Tagged , , , , , , , , , , , , , , , | Leave a comment

Download images from a web page in C#

This is a big program and this description only touches on its most interesting parts. Download it to see the details. The program displays a WebBrowser control on the left. Click the links on the WebBrowser to navigate to a … Continue reading

Posted in graphics, internet, web | Tagged , , , , , , , , , , , , , , , , , | Leave a comment

Generate and display HTML in C#

This example actually does two things: it makes a WebBrowser control navigate to the user’s home page, and it shows how to generate and display HTML in the WebBrowser control at run time. When the program starts, it uses the … Continue reading

Posted in html, web | Tagged , , , , , , , , , , , | Leave a comment