Visual Basic

Moderators: None (Apply to moderate this forum)
Number of threads: 18011
Number of posts: 55384

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
VB .NET 2005 Windows Service Posted by Sephiroth on 5 Aug 2008 at 3:45 PM
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.

-Sephiroth
Report
Re: VB .NET 2005 Windows Service Posted by Sephiroth on 7 Aug 2008 at 11:08 AM
So is this not a possibility with VB .NET? I know how to hook keyboard input with C++, but I am not sure how to write a service in C++. I would prefer to do this with VB .NET, but I don't know if it is possible.

-Sephiroth



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.