How to run another program from VB.Net

m_m123

Newcomer
Joined
Mar 11, 2005
Messages
5
Hello,
I want to find out how can I run a .exe file from my code? for example, I want to run the file "E:\program.exe" whenever a specific button on my form is pressed.
I will be very happy if you can help me.
Thank you very much
 
It seems that PlausiblyDamp's link is broken, atleast on this computer anyway.
Try:
System.Diagnostics.Process.Start("E:\program.exe").
There are a lot of other ways to start your file including parameter settings etc. Check out the Process namespace.
 
Back
Top