• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 404
  • Last Modified:

keyboard hook

i need a vb 6 app that will capture what the user is typing.  We are currently using a low level keyboard hook but it is not working fast enough and missing keystrokes.  possibly using the KeyboardProc Function
0
rjef
Asked:
rjef
  • 3
  • 3
4 Solutions
 
xiduiCommented:
download and install Keylogger
0
 
rjefAuthor Commented:
where is keylogger?
0
 
Mike TomlinsonMiddle School Assistant TeacherCommented:
A low level keyboard hook via WH_KEYBOARD_LL does get everything!

Can you show us some code?
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
rjefAuthor Commented:
i think the problem we are having is when we unhook to look at the data and rehook we lose the data in between.
0
 
Mike TomlinsonMiddle School Assistant TeacherCommented:
Why are you unhooking to look at the data?...you shouldn't need to do that.  Unhook when your app exits!
0
 
rjefAuthor Commented:
actually i was wrong there is no unhook,  but there is a loop that looks for certain things.  We are looking to see when a 'S' followed by only numbers then a return character is sent.  We also have to make sure we don't get the same key twice. And we also wait for the upkey press.
0
 
Mike TomlinsonMiddle School Assistant TeacherCommented:
So it's more likely that the code in your hook proc needs some tweaking so it doesn't take so long?...
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now