Export (0) Print
Expand All
Expand Minimize

Code: Displaying a Web Page in Internet Explorer (Visual C#)

Visual Studio .NET 2003

This example displays www.microsoft.com in Internet Explorer using the Process.Start method.


"C:\\Program Files\\Internet Explorer\\IExplore.exe",

Compiling the Code

Copy the code and paste it into the Main method of a console application.

Replace the first parameter of Start with the path to IExplore.exe, if the program is installed in a different location.

See Also

Process.Start Method | Starting Processes | General Language Example Topics

© 2015 Microsoft