need help on how to open another exe using a button.
Posted: Thu May 19, 2005 6:03 am
How do I get it to open a exe in a subfolder from this exe /bob/bob.exe
thanks.
thanks.
Code: Select all
IncludeFile "Common.pb"
Open_Window_0()
Quit = 0
Repeat
Event = WaitWindowEvent()
Select Event
Case #PB_EventCloseWindow
Quit = 1
Case #PB_Event_Gadget
Select EventGadgetID()
Case #Button_1 ; If push Exit then quit
Quit = 1
Case #Button_0 ; the Patch Button
Case #Button_2
CloseWindow(#Window_1) ; If push cancel in that, close it
EndSelect
EndSelect
Until Quit = 1
End