Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27329

Need Help With Hot Keys (NOT USING TIMER)

$
0
0
Ok so i have started a project but i need hot keys i have used the timer method but it does not do what i want it to do.
Like the .net forms have a key pressed i want it to be like that as a timer is not that accurate.

I have this on the timer at the moment but i want something that is more accurate when i press the key and please don't say make the timer faster or use Threading as i have tried all of these same result works a bit better but still is not 100%.

If GetKeyPress(Keys.A) Then
<MY CODE HERE>
End If

Any help would be hugely appreciated also I am doing it so that when the program is not in focus the hot-key needs to be pressed.

Viewing all articles
Browse latest Browse all 27329

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>