Launch web site with default browser....

  • Thread starter Thread starter Tom
  • Start date Start date
T

Tom

What the best way to launch a web site using the default browser? For
instance, I have a help menu item that, when clicked, will cause a
pre-defined web site to launch in the default browser (IE, Mozilla,
Netscape, whatever).

Right now I am using:

System.Diagnostics.Process.Start(http://MyWebSite)

Just wondering if this is the best way to do it; and will this work all the
time? (i.e. even when you compile a 'Release'configuration)

Tom
 
* "Tom said:
What the best way to launch a web site using the default browser? For
instance, I have a help menu item that, when clicked, will cause a
pre-defined web site to launch in the default browser (IE, Mozilla,
Netscape, whatever).

Right now I am using:

System.Diagnostics.Process.Start(http://MyWebSite)

Just wondering if this is the best way to do it; and will this work all the
time? (i.e. even when you compile a 'Release'configuration)

Should work, even when compiled as "Release".
 
Back
Top