This will help you to learn how to start another process:
public static void RunProcess ( string filename, string [] input, bool hide,
object startArgs )
{
ProcessStartInf o pi = new ProcessStartInf o(filename);
pi.UseShellExec ute = false;
pi.RedirectStan dardInput = true;
pi.RedirectStan dardOutput = false;
pi.RedirectStan dardError = false;
pi.CreateNoWind ow = hide;
if (nulll != startArgs)
pi.Arguments = startArgs.ToStr ing();
Process p = new Process();
p.StartInfo = pi;
p.Start();
StreamWriter w = p.StandardInput ;
w.AutoFlush = true;
for (int i = 0x0; i < input.Length; i ++)
w.WriteLine(inp ut [i]);
w.Close();
p.Close();
p.Dispose();
}
--
Regards,
Dennis JD Myrén
Oslo Kodebureau
"Justin" <cp***@cableone .net> wrote in message
news:opsfsrbcu4 cyi3kq@cprogsla ptop...
How do you invoke other applications with or without command line
arguments?
--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/