Launching Programs Or Files From Your Application 101

In .NET it’s much simpler. Simply use the following code:

C#

try
{
  System.Diagnostics.Process.Start(@"c:\mywebpage.html");
}
catch
{}

VB

Try
System.Diagnostics.Process.Start("c:\mywebpage.html")
Catch
End Try

 

Tip Submitted By: David McCarter