run application

  • Thread starter Thread starter adish11
  • Start date Start date
A

adish11

Hi,
In web application coded with c#, I'm trying to run application from the
code.
I'm using System.Diagnostics.Process.Start("c:\\test.exe")

Although it recognize the file it doesn't run him.

Can you help me,please?
 
What's the error message? Try this in your code to get the exact error:


try
{
System.Diagnostics.Process.Start("c:\\test.exe");
}
catch (Exception ex)
{
MessageBox.Show(this, ex.Message, "Error!");
}

I'm using Process.Start in a couple of apps with no problem.

Thanks,
Michael C.
 
Back
Top