Need Help With Visual Basic Code
Started by
XpcIzzy
, Feb 14 2005 03:28 PM
#1
Posted 14 February 2005 - 03:28 PM
#2
Posted 15 February 2005 - 08:28 PM
All i need is the code to execute a program when a button is pushed
#3
Posted 18 February 2005 - 02:14 PM
You need to use the shell function.
'*****
dim loadMaxPayne
loadMaxPayne = Shell("C:\Program Files\Max Payne\MaxPayne.exe", 1)
'*****
Thats only my guess at the path name but you can modify as necessary.
Let us know if it works.
'*****
dim loadMaxPayne
loadMaxPayne = Shell("C:\Program Files\Max Payne\MaxPayne.exe", 1)
'*****
Thats only my guess at the path name but you can modify as necessary.
Let us know if it works.
#4
Posted 19 February 2005 - 09:57 AM
Yeah, It works great.
Thanks for the help
Thanks for the help
Similar Topics
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users