P
pargat.singh
Hi Everyone:
I have VB 6.0 exe program which currently i am calling through batch
file.I need to use the same program from C# program and i am doing as
below which is not working
System.Diagnostics.Process runner = new
System.Diagnostics.Process();
runner.StartInfo.FileName = @"\\xxxx\yyyy\fff\uuu\ABC.exe" ;
string sParameter = "FOLDER" + " " + firstParameter + "
" + secondParameter ;
runner.StartInfo.Arguments = sParameter ;
runner.Start();
runner.WaitForExit();
Can any please tell me how can i call above program.I don't want to
call through batch file.
Thanks in advance.
Pargat
I have VB 6.0 exe program which currently i am calling through batch
file.I need to use the same program from C# program and i am doing as
below which is not working
System.Diagnostics.Process runner = new
System.Diagnostics.Process();
runner.StartInfo.FileName = @"\\xxxx\yyyy\fff\uuu\ABC.exe" ;
string sParameter = "FOLDER" + " " + firstParameter + "
" + secondParameter ;
runner.StartInfo.Arguments = sParameter ;
runner.Start();
runner.WaitForExit();
Can any please tell me how can i call above program.I don't want to
call through batch file.
Thanks in advance.
Pargat