Share Knowledges
  • Knowledges Base
  • www.shareknowledges.com
  • A Web Site To Share Knowledges With You
  • Home
  • Art and Entertainment
  • Around The World
  • Business & Finance
  • Dot Net Knowledges Base
    • .Net Tips
    • .NET Framework
    • ADO.NET
    • ASP.NET
    • Inside Dot Net
  • Dota Allstars
  • Foreign Exchange (Forex)
  • Gaming
  • Products Review & Specs
  • Programming Articles
  • Technology
  • Usefull Links
  • Link Exchange
  • Health Beauty Fitness

My Links

HcJ @ Singapore
HuaChao & June
Flash Games
Buy Direct From China
Tips ABC
Dota Guide
Dota Tips
China Resource
Reviews Centre
SK Reviews
Reviews & Tips
Live In Singapore

.Net Tips

Launching Programs Or Files From Your Application

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
11/27/2007 4:20:41 AM Category .Net Tips Comments 0

People who read this, also read...

  •  Response.Redirect(url) ThreadAbortException Solution

  •  Unable to set the Orientation property of the PageSetup class - ASP.NET 2.0 Excel 2003

  •  Fast Exporting from DataSet to Excel

  •  How to Serialize and Deserialize Your Objects

  •  How To Determine Network Connectivity


Back
© 2007 www.shareknowledges.com
  • HuaChao & June
  • San Pian Ye
  • Share Knowledges