View Single Post
  #6 (permalink)  
Old January 13th, 2004, 10:58 AM
ninja_kornjaca ninja_kornjaca is offline
Registered User
 
Join Date: Dec 2003
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi,

i still haven't managed to make it work, but i found a workaround, in case anybody is interested.

it's a piece of code in ASP.NET:

using System.Diagnostics;

Process procMyExe;
ProcessStartInfo procInfo;

procInfo = new ProcessStartInfo(@"c:\temp\myapp.exe");
procInfo.UseShellExecute = false;
procInfo.WorkingDirectory = @"c:\temp\";

try
{
  procMyExe = Process.Start(procInfo);
}
catch (Exception ex)
{
  // bla truc kenj
}

and that's about it. and it works. the only requirement is ASP.NET.