How Do I Run External Executable Program From C#?

  • Thread starter Thread starter Tony Lin
  • Start date Start date
T

Tony Lin

I want to open and run an external program, such as Windows Explorer or MS
Word, from my C# windows application. Is there a way I can do this?



Tony Lin

Fremont, CA
 
Hello,

Tony Lin said:
I want to open and run an external program

\\\
System.Diagnostics.Process.Start(@"C:\foo.exe");
///

Regards,
Herfried K. Wagner
 
Herfried,

Thank you! Thank you!

Your suggestion works great. I had no idea there was such a thing as a
Process Class. I am going to study this class for other useful methods.

This is the second time you have given me excellent advice on this forum in
the last 10 days and I am deeply grateful.

Thanks again.

Tony Lin
 
Back
Top