G
Guest
Im trying to start a process e.g. calc.exe using
System.Diagnostics.Process.Start() from an aspx page to call an
executable on the server. The following is the code I use:
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();
I simply cannot see the application(not visible) even though it is
running(I can see it in the Windows Task Manager in the Processes tab). I
tried with notepad.exe and get the same problem. Do I have to do something
with the config file?
Will appreciate any input.
Thanks.
MA
System.Diagnostics.Process.Start() from an aspx page to call an
executable on the server. The following is the code I use:
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();
I simply cannot see the application(not visible) even though it is
running(I can see it in the Windows Task Manager in the Processes tab). I
tried with notepad.exe and get the same problem. Do I have to do something
with the config file?
Will appreciate any input.
Thanks.
MA