PDA

Click to See Complete Forum and Search --> : logging keys


vbsergio07
Jan 28th, 2000, 12:42 AM
how can i make a program that logs every key pressed on the keyboard to a textfile. not only on my program but while on other apps too.

------------------
Sergio
qbano5@aol.com

seaweed
Jan 28th, 2000, 07:45 AM
I don't think you can capture keystrokes from another program, but you can use API calls or the KeyPress event to capture keystrokes for your own programs.

Check out http://www.vbapi.com/ for Win32 API calls for VB, and the VB Help files for info on KeyPress events.

Hope that helps a little.