How can I open a URL with the default browser?

The title says it all.
Who is Participating?

Improve company productivity with a Business Account.Sign Up

McExpConnect With a Mentor Commented:
The following code works for me, it is the click event of a button handler, when the button is clicked the browser is loaded.

private void Button1_Click(Object sender, EventArgs e)
Jaime OlivaresConnect With a Mentor Software ArchitectCommented:
Process.Start can cause an exception, use a try/catch block

    string url= "";
             // do something
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.