Tag Archives: WebBrowser

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

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

Make a web browser that only allows certain web sites in C#

The WebBrowser control is a full-featured web browser in a control that you can place on your form. You can use its Navigate method to make the browser go to a specific URL. You can also catch its Navigating event … Continue reading

Posted in controls, internet, web | Tagged , , , , , , , , , , , , , | 1 Comment