Windows Events

G

Guest

Hi. I wanting to have a Windows Service that monitors keystrokes in any application. I pretty much just want to be notified whenever someone presses a key no matter what application they are using: Outlook, Word, etc. I'm having no luck figuring out how to monitor Windows Events. Any ideas on how to do this?
 
H

Herfried K. Wagner [MVP]

* "=?Utf-8?B?Z2I=?= said:
Hi. I wanting to have a Windows Service that monitors keystrokes in
any application. I pretty much just want to be notified whenever
someone presses a key no matter what application they are using:
Outlook, Word, etc. I'm having no luck figuring out how to monitor
Windows Events. Any ideas on how to do this?

I am not sure if that will work in a service, but a keyboard hook is the way
to go:

<URL:http://www.developer.com/net/net/article.php/11087_2193301_1/>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top