Saturday, 27 August 2011

How to run .exe file in asp.net?

Steps to Access the .exe files using .net:

1). Import the below class in your file:
using System.Diagnostics;
2). Write this code on button_click event--
Process p = new Process();
p.StartInfo.FileName="c:\\windows\notepad.exe";
p.Start();

No comments:

Post a Comment