running an .exe file from C# code

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

Guest

Hi all, I need to know how we can execute an .exe file
from within a method in C#. Any help is appreciated.
Thanks.
 
You can pass the path to the exe file to the static Start method on the
Process class, and it execute the program.

Hope this helps.
 
hi
this will work
System.Diagnostics.Process.Start("path to exe");

regards
Ansil
(e-mail address removed)


[Visual Basic]
Public Class Process
Inherits Component
 
Back
Top