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

Share | 
 

 Launch Warrock in your trainers

View previous topic View next topic Go down 
AuthorMessage
Mafioso
Admin
Admin
avatar

Posts : 40
Join date : 2008-03-17

PostSubject: Launch Warrock in your trainers   Tue 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.

_________________
Back to top Go down
View user profile http://mafiacoders.forumotion.com
 
Launch Warrock in your trainers
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Some trainer sprite dumping (and one Pokemon)
» Stainless~! Whip's Not-So-Nuzlocke of Pokemon Glazed~!
» Pokemon Trainers Pearl and Platinum [Inactive]

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