Support Forums

Full Version: How to hook the keyboard. [VB.NET] [TuT]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10
Shouldn't this be at HF? No matter what you call it it's still obviously meant for keylogging.
Vorfin,

I like you're tutorial. I am a beginner coder in .Net. I was wondering if you could explain what part of the code intercepts the key strokes. In other words, what part of the code lets the program know that you are looking for keyboard strokes? Is it all of the beginning code under Public Class Form1?
(10-10-2009, 08:37 AM)The Defender Wrote: [ -> ]Shouldn't this be at HF? No matter what you call it it's still obviously meant for keylogging.

No, No, No. Firstly keylogging is not illegal, I guarantee you that your work/school has keyloggers installed on all of the PCs for security. Secondly hooking the keyboard has other uses, such as getting information into a program that isn't the first on the screen, or sending text to somewhere other than a text box.

This is SupportForums I posted something that will Support peoples learning of VB.NET. Now seriously, I have never given a negative rep on any forum, ever, but mark my words, the next person who tells me to post on HF is going to get a nasty one.

(10-10-2009, 09:37 AM)ProspectDotNet Wrote: [ -> ]Vorfin,

I like you're tutorial. I am a beginner coder in .Net. I was wondering if you could explain what part of the code intercepts the key strokes. In other words, what part of the code lets the program know that you are looking for keyboard strokes? Is it all of the beginning code under Public Class Form1?

Correct, the "Public Class KeyboardHook" Right under the "Public Class Form1"
(10-09-2009, 02:35 PM)Vorfin Wrote: [ -> ]It intercepts and re-directs the keys that are pressed to your program before they reach their intended destination. That makes it log every key, unlike GetAnsyc which is highly unreliable.

Lol a Keylogger, why couldn't you just say that lol. But anywho good job kiddo.
Thanks mate.... Actually working on this
i dont really understand about this because i've never try about coding..can u please teach me more..
This is not a keylogger and almost anything that was meant for good can be used malicously just depends how you look at it
Good Job =)
(10-18-2009, 09:31 AM)General Dee Wrote: [ -> ]This is not a keylogger and almost anything that was meant for good can be used malicously just depends how you look at it
He's perfectly right. Ambulances are made for good, to save lives, but I could easily steal one and run over nun's and orphan's.

As always, great stuff Vorfin, keep it up! Thumbsup
Nice, rated 5 stars.
Pages: 1 2 3 4 5 6 7 8 9 10