[Help]Quick Simple Fast Question[Solved]
How do i get the pressed key?
I did this:
Code:
Private Sub Form1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles Form1.KeyPress
Dim PressedKey As String = Asc(e.KeyChar)
Label1.Text = PressedKey
End Sub
But i want to get F5 and that keys..
Plus, DirectCast has been obsolete for awhile, it's only a matter of time before it is completely removed form the framework, meaning somewhere download the line, apps using directcast will fail.
Stick to ctype.