Opening 2 different things with 1 command button?
Posted: Mon May 02, 2005 1:00 pm
Command button opens
"C:\Program Files\Microsoft Games\Halo\halo.exe"
so the code looks like this
but halo wont run without config.txt (it gives me an error when i start it up.
So i have to run halo.exe and config.txt at the same time so i did this
But theres an error, any ideas how to launch halo.exe and config.txt at the same time by clicking ONE cmd button?
"C:\Program Files\Microsoft Games\Halo\halo.exe"
so the code looks like this
Code: Select all
Private Sub Command1_Click()
Shell "C:\Program Files\Microsoft Games\Halo\halo.exe"
End Sub
So i have to run halo.exe and config.txt at the same time so i did this
Code: Select all
Private Sub Command1_Click()
Shell "C:\Program Files\Microsoft Games\Halo\config.txt"
Shell "C:\Program Files\Microsoft Games\Halo\halo.exe"
End Sub