View Full Version : VB Key typing
kuzmin
05-13-2009, 10:01 PM
Does anyone know the code for, say if I press the letter a so and so code occurs.
If key"a".pressed=true then msgbox("lalala")
Hope you know what I mean. Provide me with the full explanation.
kill zone
05-14-2009, 11:02 PM
By the sounds of it your trying to make a keylogger. :o
I have a safe key logger which I can control to see what happens on the computer. =)
Note;
I didn't make it
Jesse
05-16-2009, 12:45 AM
Dear Kill Zone,
You're an idiot. He's asking how to make his program react to specific key events.
Arsenal
05-16-2009, 07:55 AM
Kuzmin, there are many ways of doing this but one way is in JavaScript. Here's the code snippet.
<input type="button" value="Hello" onClick="alert('Hello!')">
Is this what you wanted/needed?
vBulletin® v3.8.2, Copyright ©2000-2010, Jelsoft Enterprises Ltd.