keyboard state in vb6
Hi everyone...my question is simple...i want to monitor the keyboard state.if any key is pressed i want to show a message..any ideas?
the code is in vb6
Peripheral
Hi everyone...my question is simple...i want to monitor the keyboard state.if any key is pressed i want to show a message..any ideas?
the code is in vb6
by billriskas Accepted solution
by tony hopkinson Accepted solution
by onbliss Accepted solution
But you still haven't told which keydown event of which object :-) It could be the [b]forms[/b], textbox, dropdownlistbox :-)
BTW, for some reason I feel comfortable with the onKeyUp event for what he is asking - displaying messages.
by tony hopkinson Accepted solution
does respond to repeat.
Maybe a keyboard map and do both and the message could be a graphic with the currently pressed keys highlighted.
Might be a tad ambitious though, for someone with this much to start learning.
A tip for all those new to the game, if you think something should be obvious to do, it is, and probably smack under your nose where you couldn't see it.
It still catches us old folks out, but we know it happens. :D
enum to string in .net for me yesterday.
Smacks forehead moment that was.
ToString(), felt like a right wally.
This discussion is closed to new replies.
Sort by Trending