How to open a web page from my application?


Question

I want to make my WPF application open the default browser and go to a certain web page. How do I do that?

1
112
2/2/2009 4:38:53 AM

Accepted Answer

System.Diagnostics.Process.Start("http://www.webpage.com");

One of many ways.

245
2/2/2009 4:39:39 AM

I've been using this line to launch the default browser:

System.Diagnostics.Process.Start("http://www.google.com"); 

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow
Icon