How to: Navigate to a URL with the WebBrowser Control
.NET Framework 2.0
The following code example demonstrates how to navigate thecontrol to a specific URL.
To determine when the new document is fully loaded, handle theevent. For a demonstration of this event, see .
Compiling the Code
This example requires:
A WebBrowser control named webBrowser1.
References to the System and System.Windows.Forms assemblies.