[Help]With Shell Command..

Posts 1–7 of 7 · Page 1 of 1
[Help]With Shell Command..
thanks for who gave me that code .
but i got promblme when i trying check it..
code :

Private Sub Command1_Click(Index As Integer)
Shell "C:\Program Files\WarRock\WRLauncher.exe"
End Sub


Pic:
1.JPGattachment deleted · 46 downloads before removal
well like it says ''File not found''. You typed in the wrong path toyour wr installation.
thanks alot man !
but how do i do "close" and "exit" boout?
Quote Originally Posted by dor619 View Post
thanks alot man !
but how do i do "close" and "exit" boout?
This is why I said use

Dim MyProcess As Process

Becuase using MyProcess.w\e you can close the process, and change, and read almost anything with it.
Private Sub Exit_Button_Click
End
End Sub


rename command1 or whateva to Exit_Button...
I use this to open warrock:

Private Sub Command1_Click()
Shell "C:\Program Files\WarRock\WRLauncher.exe"
End Sub
Quote Originally Posted by w00t? View Post
Private Sub Exit_Button_Click
End
End Sub


rename command1 or whateva to Exit_Button...
it better to unload it first

Private Sub Command1_click()
Unload Form1
end
End Sub
Posts 1–7 of 7 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?