Dec 15, 2009
im trying to make a program that only listens to a few keys that the user presses, and if one of them is pressed, it carries out a specified command.for example, right now,i found a keylogger that could carry out my command, but id rather use something else if possible. right now, i have a timer running this:
View 1 Replies
For i = 1 To 255
result = 0
result = GetAsyncKeyState(i)[code]....
Then, in the textbox1_textchanged, i search for like if textbox1.text.contains("M") or something.problem with this, is im pretty sure its a keylogger, and i dont want to have to have that. also, it does not work in vista.
Found a solution! (should have researched more throughly!)
Option Strict On