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.
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.