That's right, take a look at the process class:
http://tinyurl.com/2j73y
Process.StandardOutput Property
http://tinyurl.com/2a36b.
Process p = new Process();
p.StartInfo.UseShellExecute = false;
p.StartInfo.RedirectStandardOutput = true;
p.StartInfo.FileName = "test.exe";
p.Start();
string output = p.StandardOutput.ReadToEnd();
p.WaitForExit();
--
Greetz,
Jan
__________________________________
Read my weblog:
http://weblogs.asp.net/jan
<.> schreef in bericht news:OI**************@TK2MSFTNGP10.phx.gbl...
Process class
"news.microsoft.com" <te**@citsecure.com> wrote in message
news:um**************@TK2MSFTNGP12.phx.gbl... Hi
I need to call a win32 application from windows form and get the return
code from the win32 application. How can I do this?
Thanks