I have a program ( which requires run time parameters ) that I wish to call from inside a C# program.
An example of the program including run time parameter is "QRes.exe /x:800".
I can call it from the Command Line and it works but....................
Help please
HELP! How do I call an external program from within a C# program
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Mike GoldRank #50 · 30.6K pointsPosted Aug 14, 2005, 12:41 PM EDT
You can use the System.Diagnostics.Process class
using System.Diagnostics;
Process.Start("QRes.exe", "/x:800");
Mike G.
wejofost5 pointsPosted Aug 15, 2005, 2:28 PM EDT
Wej Parry
Hadi hh10 pointsPosted Aug 15, 2005, 10:43 PM EDT