Hi:
i build a .net application named A.exe. I need run this application
twice using c# code in another application. i try to use
process.start(A.exe) twcie, but it failed. Because the second start will use
the existed process. So only one application run.
I can use mouse to run this application twice, and there are two A.exe
processes in processed pool. So how can i do the same work using code but not
manu-click?
Chris, Master of All Things Insignificant - 19 Jan 2005 16:07 GMT
Can you show the code you are using to "try to use process.start(A.exe)
twice"?
Chris
> Hi:
> i build a .net application named A.exe. I need run this application
[quoted text clipped - 6 lines]
> not
> manu-click?
Napo - 20 Jan 2005 00:53 GMT
private void run()
{
Process proc = new Process();
proc.StartInfo.FileName = @"D:\A.exe";
proc.StartInfo.Arguments = "";
proc.Start();
}
then i call this method twice
run();
run();
"Chris, Master of All Things Insignifican" wrote:
> Can you show the code you are using to "try to use process.start(A.exe)
> twice"?
[quoted text clipped - 11 lines]
> > not
> > manu-click?