Alex Rivera | Logout

Opening a website when a button on the form is clicked

Asked 2012-02-01T17:15:39.247
11

I am creating a windows application using C#, where in a button on the GUI when clicked, should open a website.

The web browser will be taken care of by the default settings.

I am curious as to how to do that?

Edit
Report

1 Answer

20

This will open the specified link in the default web browser:

Process.Start("http://www.google.com");
answered 2012-02-01T17:17:24.887

Your Answer