i want to know please.
how do i creating a file open.
like to call to exe for open.
like in trainers the "LUNCH".
I have no fucking idea what "lunch" has to do with VB. Hmm do you mean open a process, just go :
Dim MyProcess as Process
MyProcess.StartInfo.Path = "C:\lunch.exe"
MyProcess.Start
MyProcess.Close
Thats not an illegal, question you can get these question answerd at msdn
Originally Posted by jetamay
I have no fucking idea what "lunch" has to do with VB. Hmm do you mean open a process, just go :
Dim MyProcess as Process
MyProcess.StartInfo.Path = "C:\lunch.exe"
MyProcess.Start
MyProcess.Close
Thats not an illegal, question you can get these question answerd at msdn
thanks alot for sharing..
but is't doing an error when i add it on my Command1_Click..
please help me.
i writed it like it:
Private Sub Command1_Click(Index As Integer)
Dim MyProcess As Process
MyProcess.StartInfo.Path = "C:\Program Files\WarRock\WRLauncher.exe"
MyProcess.Start
MyProcess.Close
End Sub
there is probably a declare function he had forgotten because the term "Process" in Dim MyProcess as Process isnt declared
so yeah there must be a function he forgot :-/
Its built in to the compiler, there are no functions or declarations, there are no errors in that code. Are you using VB6.0 or .net they have diffrent syntax.
Originally Posted by jetamay
Its built in to the compiler, there are no functions or declarations, there are no errors in that code. Are you using VB6.0 or .net they have diffrent syntax.
im using vb6 and i thought he was :-/ lemme see if i can find the diff function name...
Originally Posted by dor619
thanks alot for sharing..
but is't doing an error when i add it on my Command1_Click..
please help me.
i writed it like it:
Private Sub Command1_Click(Index As Integer)
Dim MyProcess As Process
MyProcess.StartInfo.Path = "C:\Program Files\WarRock\WRLauncher.exe"
MyProcess.Start
MyProcess.Close
End Sub
If it is for just a launch button, simply do::
Private Sub Command1_Click
Shell "C:\Program Files\WarRock\WRLauncher.exe"
End Sub
Huh...Well you could do that too, lol I always manage to make things more complex then they have to be.
Originally Posted by Chl0rid3
If it is for just a launch button, simply do::
Private Sub Command1_Click
Shell "C:\Program Files\WarRock\WRLauncher.exe"
End Sub
hmm but i installed it in drive "E" ^^ so you can`t use this code... for everybody...
well then give them an option on what drive they installed it on. Like use
Try statement to try C, and try to try E, etc, the whole alphebet, lol just jking.