Hey all. I've been wondering recently how you could get a user's keyboard input even if your program doensn't have focus.
That is, your program is either invisable, minimized, or in the background yet everything that someone is typing into Word or AOL is constantly being added to a text box on your program as well as the desired text box on Word or AOL.
Please help me. Thank you!
"I'm not a VB newbie... I'm just VB-knowledgely challenged."
you could use a timer and GetAsyncKeyState, but this is usually not good enough. C++ alows for a global hook to do this and i just saw some VB code to track mouse movements, so you may be able to track the keyboard using the same concept.
if you have directx7, you can do a hook with that pretty easily. Search around. There is code for that. I posted some in this forum myself. The only problem you might have is the size of the module. If it is for your own computer (and i am assuming it is since you nicely mentioned aol), then this won't be an issue since you have the file anyway.
Dontya hate it when they don't save their passwords?
Please keep in mind that I am a pretty severe newbie. I have no idea how to use Direct X, I just thought it was something you had to install everytime you get a game. *Twirls his blonde hair absently*
Actually, I was intending to sell this program to my friends. Not because I personally dispise AOL parental controls, but because everyone deserves the ability to log their IMs and Chats on their own. Hehehehe.
Anyway, if you could please point me toward these codes that you have posted, I would be eternally grateful.
Thanks!
"I'm not a VB newbie... I'm just VB-knowledgely challenged."
...Oh, thank you.... It's not like I'm simply trying to show a legitamite face for a program that I actually intend to imploy on stealing passwords and monitoring other family member's conversations.......
"I'm not a VB newbie... I'm just VB-knowledgely challenged."
Here's a little something I threw together (I found the api code on a forum somewhere). This basically puts all keys pressed in a textbox. Pressing backspace removes the last character from the textbox, etc. Let me know if it doesn't work...
<Warning From Moderator>The attached exe file has not been tested and VBForums takes no responability for any harm done by it. Run it at your own risk.</Warning From Moderator>
Last edited by Electroman; Jan 26th, 2005 at 12:17 PM.
Sitting w/ Bob Status: -Next -To- Null- Friend: Philip
Posts
1,152
Re: Creating a keylogger
lol why is this old topic being posted in?
Do people check the dates on posts, 2001
:::`DISCLAIMER`:::
Do NOT take anything i have posted to be truthful in any way, shape or form.
Thank You!
-------------------------------- "Never heard about "hiking" poles. I usualy just grab a stick from the nature, and use that as a pole." - NoteMe "Finaly I can look as gay as I want..." - NoteMe
Languages: VB6, BASIC, Java, C#. C++