How to run a client-side .exe in the ASP.NET frame
I want to be able to run a .exe with the ASP.NET framework. I found the code below, which I have tried to no avail. What could I be doing wrong? I know the code works as it was thus stated in the original post.
The process is definitely being spawned but I get no GUI at all. If I run the same code in a windows application it is fine.
Process p = new Process();
p.StartInfo.FileName="c:\\windows\\system32\\calc. exe";
p.StartInfo.CreateNoWindow=false;
p.StartInfo.UseShellExecute=false;
p.EnableRaisingEvents=true;
p.Start();
Many thanks!
|