C# - calling external applications

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I must call an external application (a simple console .exe) with a few
parametres within my own application (written in C# - Visual Studio 2005).
how to do that? I do not want to see interface of this application, I just
want that to do something for me.
I thave tried to use :

WshShell wsh = new WshShellClass();
wsh.Exec("c:\\ext_app.exe /param");

but completely nothing happens
 
Look into the "System.Diagnostics.Process"-class.

Arguments can be supplied via the "ProcessStartInfo"..

Good luck
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top