| View previous topic :: View next topic |
| Author |
Message |
Box Grandmaster Cheater
Reputation: 0
Joined: 16 Oct 2007 Posts: 541
|
Posted: Mon Jan 07, 2008 3:58 pm Post subject: code help +rep for the code that works |
|
|
whats the code for vb6 so if i hit a command button my cd drive wouldeject pm so i get is asap
_________________
| zurkei wrote: | | Wow box your a real dick, I can't believe I actually thought that you were telling the truth... |
Fact: no one tells the truth on cheat engine fourms |
|
| Back to top |
|
 |
Blader I post too much
Reputation: 2
Joined: 19 Jan 2007 Posts: 2049
|
|
| Back to top |
|
 |
Box Grandmaster Cheater
Reputation: 0
Joined: 16 Oct 2007 Posts: 541
|
Posted: Mon Jan 07, 2008 4:04 pm Post subject: |
|
|
i pasted it in form and it doesen't work..
_________________
| zurkei wrote: | | Wow box your a real dick, I can't believe I actually thought that you were telling the truth... |
Fact: no one tells the truth on cheat engine fourms |
|
| Back to top |
|
 |
Blader I post too much
Reputation: 2
Joined: 19 Jan 2007 Posts: 2049
|
Posted: Mon Jan 07, 2008 4:07 pm Post subject: |
|
|
Ok try this instead...
| Code: | Private Declare Function mciSendString Lib "winmm.dll" Alias "mciSendStringA" _
(ByVal lpstrCommand As String, ByVal lpstrReturnString As String, _
ByVal uReturnLength As Long, ByVal hwndCallback As Long) As Long
Private Sub cmdOpenDoor_Click()
mciSendString "Set CDAudio Door Open Wait", vbNullString, 0, 0
End Sub
Private Sub cmdCloseDoor_Click()
mciSendString "Set CDAudio Door Closed Wait", vbNullString, 0, 0
End Sub |
_________________
|
|
| Back to top |
|
 |
Box Grandmaster Cheater
Reputation: 0
Joined: 16 Oct 2007 Posts: 541
|
Posted: Mon Jan 07, 2008 4:08 pm Post subject: |
|
|
when i paste in form nothing
_________________
| zurkei wrote: | | Wow box your a real dick, I can't believe I actually thought that you were telling the truth... |
Fact: no one tells the truth on cheat engine fourms |
|
| Back to top |
|
 |
Reak I post too much
Reputation: 0
Joined: 15 May 2007 Posts: 3496
|
Posted: Mon Jan 07, 2008 4:12 pm Post subject: |
|
|
| I don't know VB but just paste it in the Source wont work, because you gotta link the Buttons (or w.e) to the procedures.
|
|
| Back to top |
|
 |
Box Grandmaster Cheater
Reputation: 0
Joined: 16 Oct 2007 Posts: 541
|
Posted: Mon Jan 07, 2008 4:15 pm Post subject: |
|
|
well how is it sapota work wtih out me knowing how to use itr-.-
_________________
| zurkei wrote: | | Wow box your a real dick, I can't believe I actually thought that you were telling the truth... |
Fact: no one tells the truth on cheat engine fourms |
|
| Back to top |
|
 |
Blader I post too much
Reputation: 2
Joined: 19 Jan 2007 Posts: 2049
|
Posted: Mon Jan 07, 2008 4:20 pm Post subject: |
|
|
| Code: | Private Sub cmdOpenDoor_Click()
mciSendString "Set CDAudio Door Open Wait", vbNullString, 0, 0
End Sub
Private Sub cmdCloseDoor_Click()
mciSendString "Set CDAudio Door Closed Wait", vbNullString, 0, 0
End Sub |
These are the button events...
_________________
|
|
| Back to top |
|
 |
Box Grandmaster Cheater
Reputation: 0
Joined: 16 Oct 2007 Posts: 541
|
Posted: Mon Jan 07, 2008 4:36 pm Post subject: |
|
|
are u even giveing me code for vb6 cuzz im pasteing that in the form and i put 2 command button click command 1 nothing click command 2 nothing
_________________
| zurkei wrote: | | Wow box your a real dick, I can't believe I actually thought that you were telling the truth... |
Fact: no one tells the truth on cheat engine fourms |
|
| Back to top |
|
 |
Blader I post too much
Reputation: 2
Joined: 19 Jan 2007 Posts: 2049
|
Posted: Mon Jan 07, 2008 4:40 pm Post subject: |
|
|
You have to edit it around jeez..
It's a button click event, change the name of your buttons to match the one in the code...
_________________
|
|
| Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Mon Jan 07, 2008 4:41 pm Post subject: |
|
|
1. Are you declaring mciSendString?
2. You have to actually name your buttons appropriately.
|
|
| Back to top |
|
 |
Box Grandmaster Cheater
Reputation: 0
Joined: 16 Oct 2007 Posts: 541
|
Posted: Mon Jan 07, 2008 4:44 pm Post subject: |
|
|
i named the buttons now i get an error but there named right
_________________
| zurkei wrote: | | Wow box your a real dick, I can't believe I actually thought that you were telling the truth... |
Fact: no one tells the truth on cheat engine fourms |
|
| Back to top |
|
 |
Blader I post too much
Reputation: 2
Joined: 19 Jan 2007 Posts: 2049
|
Posted: Mon Jan 07, 2008 4:46 pm Post subject: |
|
|
What's the error say?
_________________
|
|
| Back to top |
|
 |
Box Grandmaster Cheater
Reputation: 0
Joined: 16 Oct 2007 Posts: 541
|
|
| Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Mon Jan 07, 2008 4:53 pm Post subject: |
|
|
| slovach wrote: | | 1. Are you declaring mciSendString? |
|
|
| Back to top |
|
 |
|