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 


Help in VB6

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Krayzee
Cheater
Reputation: 0

Joined: 25 Aug 2007
Posts: 25
Location: Satan's Server Room

PostPosted: Sun Sep 02, 2007 6:57 pm    Post subject: Help in VB6 Reply with quote

im still experimenting with VB6, and im trying to make a macro for Gunz, for button combinations when i press a certain key, i know how to use all the essential commands except what the command is for something along the lines of

IF <key> pressed
<key combination>
Else
<Nothing>

i need to know how to make a hotkey pretty much.
I also have Delphi if you think i should use that instead, but i dunno any commands for that.

thx in advance.
Back to top
View user's profile Send private message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Sun Sep 02, 2007 6:59 pm    Post subject: Reply with quote

talk to my good friend skate4lifee and ask him. He knows how to do this for vb.
_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Krayzee
Cheater
Reputation: 0

Joined: 25 Aug 2007
Posts: 25
Location: Satan's Server Room

PostPosted: Sun Sep 02, 2007 7:02 pm    Post subject: Reply with quote

lol, i would pm him but it says "you need alot more posts before you can pm people" =P can you tell him for me?
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Sun Sep 02, 2007 8:04 pm    Post subject: Reply with quote

http://msdn2.microsoft.com/en-us/library/ms911003.aspx
Back to top
View user's profile Send private message
Krayzee
Cheater
Reputation: 0

Joined: 25 Aug 2007
Posts: 25
Location: Satan's Server Room

PostPosted: Mon Sep 03, 2007 4:53 am    Post subject: Reply with quote

Code:
This function defines a system-wide hot key.

BOOL RegisterHotKey(
  HWND hWnd,
  int id,
  UINT fsModifiers,
  UINT vk
);


ok i get all of it, but how do i find an address to use in "int id"?
Back to top
View user's profile Send private message
Programmer
Cheater
Reputation: 0

Joined: 02 Sep 2007
Posts: 48

PostPosted: Mon Sep 03, 2007 5:19 am    Post subject: Reply with quote

Cant you set a keyboard hook?
_________________
Back to top
View user's profile Send private message
Krayzee
Cheater
Reputation: 0

Joined: 25 Aug 2007
Posts: 25
Location: Satan's Server Room

PostPosted: Mon Sep 03, 2007 5:25 am    Post subject: Reply with quote

umm im a newb at programming in general, so i dunno what ur talking about D:
Back to top
View user's profile Send private message
Trow
Grandmaster Cheater
Reputation: 2

Joined: 17 Aug 2006
Posts: 957

PostPosted: Mon Sep 03, 2007 9:59 am    Post subject: Reply with quote

holy hell, keyboard hooks in VB is as bad as doing GUI in binary
_________________
Get kidnapped often.
Back to top
View user's profile Send private message
--Pillboi--
Grandmaster Cheater Supreme
Reputation: 0

Joined: 06 Mar 2007
Posts: 1383
Location: I don't understand the question. Is this a 1 to 10 thing?

PostPosted: Mon Sep 03, 2007 11:18 am    Post subject: Reply with quote

hariharanmca wrote:
1. Make Form Keypreview = True
2. In Form Key Down Event
Code:
If KeyCode = vbKeyF1 then     Command1_Click


[Off-topic] [I hate going off-topic, but hell]
How to program in binary:

_________________

Enter darkness, leave the light, Here be nightmare, here be fright...
Earth and Water, Fire and Air. Prepare to meet a creature rare.
Enter now if you dare, Enter now the dragon's lair.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
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