Using VB to run another file

Post here about scripting and programming for HaloPC (audio, network, ai, etc.)
Post Reply
marcmarteleira





Posts: 137
Joined: Sun Jan 30, 2005 7:32 am
Location: Mississauga

Using VB to run another file

Post 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?
Signature exceeded 500x120 pixels.
User avatar
dos mes





Posts: 2158
Joined: Thu Dec 29, 2005 9:58 pm
Location: Syracuse, NY

Post by dos mes »

Code: Select all

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




Pi Collaborator

Posts: 5426
Joined: Sat Jul 24, 2004 12:12 pm
Location: I'm a Paranoid
Contact:

Post by Patrickssj6 »

Code: Select all

Shell(explorer.exe)
Works too :D
...left for good
User avatar
jebmodillion
Readers Club





Posts: 41
Joined: Sun Apr 08, 2007 9:43 pm

Post by jebmodillion »

Pretty usefull
Post Reply