Made by Blackbelt012

OK to start add a button or a menu strip to your form.


-----------------------------------
Then double click the button you just added and it will take you to the code of your application.
-----------------------------------
Next scroll to the very top of your form and add this code.
CODE
using System.Diagnostics;



-----------------------------------
Then scroll back down to the button you double clicked.


-----------------------------------
After that add this code.
CODE
Process.Start(@"C:\Program Files\Mozilla Firefox\firefox");

just switch the
CODE
C:\Program Files\Mozilla Firefox\firefox
to the path of the program you want to start.


-----------------------------------
Now if you want to test your program before you publish it hit the "F5" key and it will go into Debug Mode. Then just press the button and if done properly the program will open that you selected.

 

 

 


Reply