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
Discover more from dotNetTips.com
Subscribe to get the latest posts sent to your email.
