Code to launch different kind of applications using .net

Tripati.patro
Posted by Tripati.patro under C# category on | Points: 40 | Views : 1367
Using "System.Diagnostics.Process.Start" different kind of application can be opened.

System.Diagnostics.Process.Start("Notepad.exe");
System.Diagnostics.Process.Start("Excel.exe");
System.Diagnostics.Process.Start("WinWord.exe");
System.Diagnostics.Process.Start("MsPaint.exe");
System.Diagnostics.Process.Start("Path"); // Path can be absolute path of any executable application.

Comments or Responses

Login to post response