Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
VB .NET 2005 Windows Service
I have not done a Windows service before, much less in VB, but I figure for my purposes, it will do. I want to create a Windows service that will capture all keystrokes including extended keys into a file at a location I specify. I have concerns that the younger fellow I let use my laptop is using it on sites known for malware, and I need to know. He doesn't do any chatting or email, so I am not worried about privacy concerns.
I do not wish to use a keylogger or software for this purpose because I do not want ANYBODY else seeing whatever gets logged. I cannot trust the freeware software, and the pay software is way too expensive, especially if I wind up being wrong. Either way, I program, so this will be a learning experience for me.
Still, I am not sure where to begin. I can create a service project in VS2005, but then what? How do I capture input? I know how to open a file and log to it, but I am not sure how to intercept or hook all keyboard input. Thanks in advance for any help.