View Full Version : [Question]VB Modules
cmhaven77
17th January 2008, 07:51
so i read that there's a way to wrap sendkey in a module in vb(i think it came from the joker, and then i googled it some more), but then due to limited base knowledge i hit a wall in trying to find more info/tut on how exactly to do it D:
does anyone have any tuts/links/suggestions/info on how to do this?
please, no links to microsoft vb complete tuts 'cause that'll take months to read >.>
i'm looking for more specific information like a certain area or a group of commands/keys
thanks!
p.s. excuse the spam of thread starts, i thought it would be easier to get help if everything was separated into bits (torrents work like that no? xD)
:bunny: :bunny: :bunny: :bunny:
thaicoures3
18th January 2008, 10:50
Know what you mean about the microsoft stuff. They're never open ended like I want them to be...I guess the extra info helps sometimes. I suggest you go to your library and get some books on VB. Much easier to learn that way.
XxOsirisxX
18th January 2008, 19:08
I don't get what you means..
but i will try..
Module:
Public sub lol()
SendKeys "(Is This?)"
End Sub
-Form:
Textbox:
Private Sub Text1_Click ()
call lol
End Sub
so when you click the text box.. the sendkey fuction at the module will show up :\
Which is pretty useless IMO, since you can do this directly.
Is this what you said?
cmhaven77
18th January 2008, 19:43
lol that's exactly what i meant, does gameguard detect that? =X
XxOsirisxX
18th January 2008, 19:54
I suppose it does detect that string :\
cmhaven77
18th January 2008, 21:16
poopoo, it looks like all the key functions are detected how are we suppose to code a uac now D: ( uac = undetected auto clicker, smart eh? =P )
thaicoures3
19th January 2008, 09:50
poopoo, it looks like all the key functions are detected how are we suppose to code a uac now D: ( uac = undetected auto clicker, smart eh? =P )
PostMessage
cmhaven77
19th January 2008, 10:06
hmm not sure where i read this, but somewhere (i'm pretty sure i did read it somewhere >.<) it says postmessage does not work anymore and everything's converted to sendinput =X
edit: okay i take that back, it'll work, but with decreased functions.
"
Some people attempt to simulate keyboard input to an application by posting keyboard input messages, but this is not reliable for many reasons...
....When the code behind the window calls the GetKeyState function or the GetAsyncKeyState function, it's going to see the "real" shift state and not the fake state that your posted messages have generated.
The SendInput function was designed for injecting input into Windows. If you use that function, then at least the shift states will be reported correctly. "
so other than reporting and functionality with getasynckeystate, postmessage should work.
thanks for your input! i'll give it a shot
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.