| View previous topic :: View next topic |
| Author |
Message |
killar456 Master Cheater
Reputation: 0
Joined: 30 Mar 2007 Posts: 415
|
Posted: Fri Aug 10, 2007 5:17 pm Post subject: programing help! delphi or vb6 |
|
|
i tried my hardest if u look down u will see i have made a post about making a program that will bring up my games programs, i tried will someone make these paths | Code: | C:documents and settings\owner\my documents\WoW-2.0.0-enUS-installer\installer.app\contents\daemons ring-gunz\theduel.exe
C:documents and settings\owner\my documents\WoW-2.0.0-enUS-installer\installer.app\contents\visual basic 6 portable
C:program files\wolfenstein - enemy territory\et.exe
C:program files\gpotato\flyff\flyff.exe
C:program files\cheat engine\cheatengine.exe
C:program files\mozilla firefox\firefox.exe
C:program files\maplestory folder\maplestory\maplestory.exe
C:program files\internet explorer\iexplorer.exe | in to a code for me for vb6 or delphi? (remember to put the code for the buttons) or u could just make the whole program, i need the buttons to |
|
| Back to top |
|
 |
Heartless I post too much
Reputation: 0
Joined: 03 Dec 2006 Posts: 2436
|
Posted: Fri Aug 10, 2007 5:23 pm Post subject: Re: programing help! delphi or vb6 |
|
|
| killar456 wrote: | i tried my hardest if u look down u will see i have made a post about making a program that will bring up my games programs, i tried will someone make these paths | Code: | C:documents and settings\owner\my documents\WoW-2.0.0-enUS-installer\installer.app\contents\daemons ring-gunz\theduel.exe
C:documents and settings\owner\my documents\WoW-2.0.0-enUS-installer\installer.app\contents\visual basic 6 portable
C:program files\wolfenstein - enemy territory\et.exe
C:program files\gpotato\flyff\flyff.exe
C:program files\cheat engine\cheatengine.exe
C:program files\mozilla firefox\firefox.exe
C:program files\maplestory folder\maplestory\maplestory.exe
| in to a code for me for vb6 or delphi? (remember to put the code for the buttons) or u could just make the whole program, i need the buttons to |
| Visual Basic wrote: |
Call Shell("C:documents and settings\owner\my documents\WoW-2.0.0-enUS-installer\installer.app\contents\daemons ring-gunz\theduel.exe")
Call Shell("C:documents and settings\owner\my documents\WoW-2.0.0-enUS-installer\installer.app\contents\visual basic 6 portable")
Call Shell("C:program files\wolfenstein - enemy territory\et.exe")
Call Shell("C:program files\gpotato\flyff\flyff.exe")
Call Shell("C:program files\cheat engine\cheatengine.exe")
Call Shell("C:program files\mozilla firefox\firefox.exe")
Call Shell("C:program files\maplestory folder\maplestory\maplestory.exe")
Call Shell("C:program files\internet explorer\iexplorer.exe")
|
Just put each one of those in a different command button. _________________
What dosen't kill you, usually does the second time. |
|
| Back to top |
|
 |
appalsap Moderator
Reputation: 0
Joined: 27 Apr 2006 Posts: 6753 Location: Pakistan
|
Posted: Fri Aug 10, 2007 5:28 pm Post subject: |
|
|
| SHGetSpecialFolderPath |
|
| Back to top |
|
 |
killar456 Master Cheater
Reputation: 0
Joined: 30 Mar 2007 Posts: 415
|
Posted: Fri Aug 10, 2007 5:28 pm Post subject: |
|
|
| im brand new to delphi, whats the commands buttons called whenu add em? |
|
| Back to top |
|
 |
Heartless I post too much
Reputation: 0
Joined: 03 Dec 2006 Posts: 2436
|
Posted: Fri Aug 10, 2007 5:32 pm Post subject: |
|
|
The codes are for Visual Basic 6.
Here is how a code should look in VB.
Private Sub Command1_Click()
Call Shell("C:documents and settings\owner\my documents\WoW-2.0.0-enUS-installer\installer.app\contents\daemons ring-gunz\theduel.exe")
End Sub _________________
What dosen't kill you, usually does the second time. |
|
| Back to top |
|
 |
killar456 Master Cheater
Reputation: 0
Joined: 30 Mar 2007 Posts: 415
|
Posted: Fri Aug 10, 2007 5:35 pm Post subject: |
|
|
| thank you so much for the great answer! |
|
| Back to top |
|
 |
DeletedUser14087 I post too much
Reputation: 2
Joined: 21 Jun 2006 Posts: 3069
|
Posted: Fri Aug 10, 2007 5:38 pm Post subject: |
|
|
Delphi:
Use Shellexecute();
Shellexecute(Handle, 'open', 'YOUR PROGRAM', nil, nil, SW_SHOWNORMAL);
Add shellapi in the uses list. |
|
| Back to top |
|
 |
killar456 Master Cheater
Reputation: 0
Joined: 30 Mar 2007 Posts: 415
|
Posted: Fri Aug 10, 2007 5:51 pm Post subject: |
|
|
for vb6 code looks like this right? | Code: |
Private Sub Command1_Click()
Call Shell("C:documents and settings\owner\my documents\WoW-2.0.0-enUS-installer\installer.app\contents\daemons ring-gunz\theduel.exe")
End Sub
Private Sub Command2_Click()
Call Shell("C:documents and settings\owner\my documents\WoW-2.0.0-enUS-installer\installer.app\contents\visual basic 6 portable")
End Sub
Private Sub Command3_Click()
Call Shell("C:program files\wolfenstein - enemy territory\et.exe")
End Sub
Private Sub Command4_Click()
Call Shell("C:program files\gpotato\flyff\flyff.exe")
End Sub
Private Sub Command5_Click()
Call Shell("C:program files\cheat engine\cheatengine.exe")
End Sub
Private Sub Command6_Click()
Call Shell("C:program files\mozilla firefox\firefox.exe")
End Sub
Private Sub Command7_Click()
Call Shell("C:program files\maplestory folder\maplestory\maplestory.exe")
End Sub
Private Sub Command8_Click()
Call Shell("C:program files\internet explorer\iexplorer.exe")
End Sub
| nope whats wrong with it im getting a run-time error'53' file not found
| Kaspersky wrote: | Delphi:
Use Shellexecute();
Shellexecute(Handle, 'open', 'YOUR PROGRAM', nil, nil, SW_SHOWNORMAL);
Add shellapi in the uses list. | what i dont have a clue what u just said |
|
| Back to top |
|
 |
DeletedUser14087 I post too much
Reputation: 2
Joined: 21 Jun 2006 Posts: 3069
|
Posted: Fri Aug 10, 2007 6:11 pm Post subject: |
|
|
| killar456 wrote: | for vb6 code looks like this right? | Code: |
Private Sub Command1_Click()
Call Shell("C:documents and settings\owner\my documents\WoW-2.0.0-enUS-installer\installer.app\contents\daemons ring-gunz\theduel.exe")
End Sub
Private Sub Command2_Click()
Call Shell("C:documents and settings\owner\my documents\WoW-2.0.0-enUS-installer\installer.app\contents\visual basic 6 portable")
End Sub
Private Sub Command3_Click()
Call Shell("C:program files\wolfenstein - enemy territory\et.exe")
End Sub
Private Sub Command4_Click()
Call Shell("C:program files\gpotato\flyff\flyff.exe")
End Sub
Private Sub Command5_Click()
Call Shell("C:program files\cheat engine\cheatengine.exe")
End Sub
Private Sub Command6_Click()
Call Shell("C:program files\mozilla firefox\firefox.exe")
End Sub
Private Sub Command7_Click()
Call Shell("C:program files\maplestory folder\maplestory\maplestory.exe")
End Sub
Private Sub Command8_Click()
Call Shell("C:program files\internet explorer\iexplorer.exe")
End Sub
| nope whats wrong with it im getting a run-time error'53' file not found
| Kaspersky wrote: | Delphi:
Use Shellexecute();
Shellexecute(Handle, 'open', 'YOUR PROGRAM', nil, nil, SW_SHOWNORMAL);
Add shellapi in the uses list. | what i dont have a clue what u just said |
You have no clue what i said ? give up now
i explained it clearly with instructions |
|
| Back to top |
|
 |
UnLmtD Grandmaster Cheater
Reputation: 0
Joined: 13 Mar 2007 Posts: 894 Location: Canada
|
Posted: Fri Aug 10, 2007 6:12 pm Post subject: |
|
|
You should use CreateProcess instead of what they said to you. _________________
|
|
| Back to top |
|
 |
Lorrenzo Moderator
Reputation: 4
Joined: 02 Jun 2006 Posts: 3744
|
|
| Back to top |
|
 |
UnLmtD Grandmaster Cheater
Reputation: 0
Joined: 13 Mar 2007 Posts: 894 Location: Canada
|
Posted: Fri Aug 10, 2007 6:20 pm Post subject: |
|
|
CreateProcess
I assume that you are a Delphi/VB coder, so I can't help you. Just search "CreateProcess + Your language goes here" in your favorite search engine. _________________
|
|
| Back to top |
|
 |
sponge I'm a spammer
Reputation: 1
Joined: 07 Nov 2006 Posts: 6009
|
Posted: Fri Aug 10, 2007 6:26 pm Post subject: |
|
|
all you need to do is know how to call api in your language and your already set to go... everything else you need is at msdn. _________________
|
|
| Back to top |
|
 |
killar456 Master Cheater
Reputation: 0
Joined: 30 Mar 2007 Posts: 415
|
Posted: Fri Aug 10, 2007 6:53 pm Post subject: |
|
|
so just like this?
| Code: | Private Sub Command1_Click()
Call Shell("C:documents and settings\owner\my documents\WoW-2.0.0-enUS-installer\installer.app\contents\daemons ring-gunz\theduel.exe")
End Sub | so it would be that in vb6 just looks like this? | Code: | Private Sub Command1_Click()
createprocess("C:documents and settings\owner\my documents\WoW-2.0.0-enUS-installer\installer.app\contents\daemons ring-gunz\theduel.exe")
End Sub |
|
|
| Back to top |
|
 |
Heartless I post too much
Reputation: 0
Joined: 03 Dec 2006 Posts: 2436
|
Posted: Fri Aug 10, 2007 7:58 pm Post subject: |
|
|
Runtime Error 53 means that the path is wrong. _________________
What dosen't kill you, usually does the second time. |
|
| Back to top |
|
 |
|