What I'm trying to do is get the form to catch any key on the keyboard that has been pressed so it will reset a timer?
and is it possible to catch these keys stokes even though the app is running in the background?
What I'm trying to do is get the form to catch any key on the keyboard that has been pressed so it will reset a timer?
and is it possible to catch these keys stokes even though the app is running in the background?
What I'm trying to do is get the form to catch any key on the keyboard that has been pressed so it will reset a timer?
Ok, i got this
Private Sub Main_KeyDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles MyBase.KeyDown
If e.KeyCode > Keys.LButton Then
End If
which seems to do what i want
someone please let me know if there is a simpler/better way of doing this
if anyone could let me know how to catch this while the form isn't active would be greatly appreciated
thanx n adv
Smalls
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.