• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 412
  • 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
Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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