Page 1 of 1

Using VB to run another file

Posted: Sat Oct 14, 2006 11:16 pm
by marcmarteleira
Hello. I want VB to run a seperate exe file in the same directory as the program Im making, how would I make it so you click a command button and it runs that program?

Posted: Sun Oct 15, 2006 6:58 am
by dos mes

Code: Select all

Process.Start("Nameoffile.exe or whatever extension")

Posted: Sun Oct 15, 2006 7:47 am
by Patrickssj6

Code: Select all

Shell(explorer.exe)
Works too :D

Posted: Thu May 31, 2007 1:24 am
by jebmodillion
Pretty usefull