bool(false) Launch Warrock in your trainers

Mutli Gaming Hacking Forum
HomeHome  FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  RegisterRegister  Log inLog in  


 Launch Warrock in your trainers

Go down 

Posts : 40
Join date : 2008-03-17

Launch Warrock in your trainers Empty
PostSubject: Launch Warrock in your trainers   Launch Warrock in your trainers EmptyTue Mar 18, 2008 1:50 pm

Launch warrock in your trainers,
by Mafioso

i added the source to this at the bottom

things you'll need:

Text box named txtprocess
a button to launch warrock
little bit of vb6 knowledge

add this to the top of your module :

Quote :
Public Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal _
nShowCmd As Long) As Long

then add your button and text box if you havent already
rename the textbox to txtprocess

put this in your button

Quote :
Dim sTemp As String
' Start the process.
sTemp = Trim$(txtprocess)
If sTemp = "" Then Exit Sub

glPid = Shell(sTemp, vbNormalFocus)
If glPid = 0 Then
MsgBox "Could not start process", vbExclamation, "Error"
End If

then in the text box put your warrock.exe destination like i have here

Quote :
C:\Program Files\WarRock\WRLauncher.exe

you can hide the txtbox so its not seen cause its not needed now that
we have the process set to warrock.

and thats all there is to it.

Launch Warrock in your trainers 2eklpja
Back to top Go down
View user profile
Launch Warrock in your trainers
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Mafia Coders :: Warrock :: Visual Basic 6.0-
Jump to: