R
Ravi
All,
I have two smart client application and i am trying to invoke those two from
C#.NET windows application project. Below is the sourc code.
public void processexec(String URL)
{
try
{
System.Diagnostics.ProcessStartInfo psInfo = new ProcessStartInfo();
psInfo.FileName = URL;
psInfo.Arguments= String.Empty;
psInfo.WindowStyle= ProcessWindowStyle.Hidden;
Process.Start(psInfo);
}
catch(Exception Ex)
{
MessageBox.Show(Ex.Message);
}
}
In command button click(), i have written the below code.
{
processexec("http://server1/testapp1/testapp1.application");
processexec("http://server1/testapp2/testapp2.application");
}
Error displayed like "An error occurred in sending the command to the
application". This is catched as exception.
Please help me on this.
Regards, Ravi
I have two smart client application and i am trying to invoke those two from
C#.NET windows application project. Below is the sourc code.
public void processexec(String URL)
{
try
{
System.Diagnostics.ProcessStartInfo psInfo = new ProcessStartInfo();
psInfo.FileName = URL;
psInfo.Arguments= String.Empty;
psInfo.WindowStyle= ProcessWindowStyle.Hidden;
Process.Start(psInfo);
}
catch(Exception Ex)
{
MessageBox.Show(Ex.Message);
}
}
In command button click(), i have written the below code.
{
processexec("http://server1/testapp1/testapp1.application");
processexec("http://server1/testapp2/testapp2.application");
}
Error displayed like "An error occurred in sending the command to the
application". This is catched as exception.
Please help me on this.
Regards, Ravi