I am writing an application which records whatever user types with the key stroke event.
But it doesnt work if user opens another window (say a notepad file ) and types something on it
What do i do for that
Thanks in advance
Tracy
Key Logger
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

AlanRank #669 · 3.6K reputationPosted Dec 24, 2007, 2:11 AM EST
You have to install a global keyboard hook to capture keystrokes in other applications.
Trusting that you've a valid reason for wanting to do so, please see this Code Project article for a C# solution:
http://www.codeproject.com/KB/cs/globalhook.aspx
Tracy17 reputationPosted Jan 2, 2008, 6:14 PM EST