Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


programing help! delphi or vb6
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
killar456
Master Cheater
Reputation: 0

Joined: 30 Mar 2007
Posts: 415

PostPosted: Fri Aug 10, 2007 5:17 pm    Post subject: programing help! delphi or vb6 Reply with quote

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
View user's profile Send private message Visit poster's website
Heartless
I post too much
Reputation: 0

Joined: 03 Dec 2006
Posts: 2436

PostPosted: Fri Aug 10, 2007 5:23 pm    Post subject: Re: programing help! delphi or vb6 Reply with quote

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
View user's profile Send private message
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Fri Aug 10, 2007 5:28 pm    Post subject: Reply with quote

SHGetSpecialFolderPath
Back to top
View user's profile Send private message
killar456
Master Cheater
Reputation: 0

Joined: 30 Mar 2007
Posts: 415

PostPosted: Fri Aug 10, 2007 5:28 pm    Post subject: Reply with quote

im brand new to delphi, whats the commands buttons called whenu add em?
Back to top
View user's profile Send private message Visit poster's website
Heartless
I post too much
Reputation: 0

Joined: 03 Dec 2006
Posts: 2436

PostPosted: Fri Aug 10, 2007 5:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
killar456
Master Cheater
Reputation: 0

Joined: 30 Mar 2007
Posts: 415

PostPosted: Fri Aug 10, 2007 5:35 pm    Post subject: Reply with quote

thank you so much for the great answer!
Back to top
View user's profile Send private message Visit poster's website
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Fri Aug 10, 2007 5:38 pm    Post subject: Reply with quote

Delphi:

Use Shellexecute();

Shellexecute(Handle, 'open', 'YOUR PROGRAM', nil, nil, SW_SHOWNORMAL);

Add shellapi in the uses list.
Back to top
View user's profile Send private message
killar456
Master Cheater
Reputation: 0

Joined: 30 Mar 2007
Posts: 415

PostPosted: Fri Aug 10, 2007 5:51 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Fri Aug 10, 2007 6:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
UnLmtD
Grandmaster Cheater
Reputation: 0

Joined: 13 Mar 2007
Posts: 894
Location: Canada

PostPosted: Fri Aug 10, 2007 6:12 pm    Post subject: Reply with quote

You should use CreateProcess instead of what they said to you.
_________________
Back to top
View user's profile Send private message
Lorrenzo
Moderator
Reputation: 4

Joined: 02 Jun 2006
Posts: 3744

PostPosted: Fri Aug 10, 2007 6:16 pm    Post subject: Reply with quote

UnLmtD wrote:
You should use CreateProcess instead of what they said to you.


Care to explain "createprocess" Razz

_________________
LAWLrrenzolicious
Back to top
View user's profile Send private message
UnLmtD
Grandmaster Cheater
Reputation: 0

Joined: 13 Mar 2007
Posts: 894
Location: Canada

PostPosted: Fri Aug 10, 2007 6:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
sponge
I'm a spammer
Reputation: 1

Joined: 07 Nov 2006
Posts: 6009

PostPosted: Fri Aug 10, 2007 6:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
killar456
Master Cheater
Reputation: 0

Joined: 30 Mar 2007
Posts: 415

PostPosted: Fri Aug 10, 2007 6:53 pm    Post subject: Reply with quote

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
Code:
Back to top
View user's profile Send private message Visit poster's website
Heartless
I post too much
Reputation: 0

Joined: 03 Dec 2006
Posts: 2436

PostPosted: Fri Aug 10, 2007 7:58 pm    Post subject: Reply with quote

Runtime Error 53 means that the path is wrong.
_________________
What dosen't kill you, usually does the second time.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites