Export (0) Print
Expand All
4 out of 9 rated this helpful - Rate this topic

How to: Navigate to a URL with the WebBrowser Control

The following code example demonstrates how to navigate the WebBrowser control to a specific URL.

To determine when the new document is fully loaded, handle the DocumentCompleted event. For a demonstration of this event, see How to: Print with a WebBrowser Control.


This example requires:

  • A WebBrowser control named webBrowser1.

  • References to the System and System.Windows.Forms assemblies.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.