I need to disable keys using a form, when pressing a button, searching in the forum, I found this:
but I can't get it to work, is there a way to disable keys?
I need to disable a, s, d , f keys, if you could help me, that would be great.
Thanks in advance.
VB.NET:
If (e.Alt = True) Then
If (e.KeyData = Keys.F4) Then
e.Handled = True
End If
End If
but I can't get it to work, is there a way to disable keys?
I need to disable a, s, d , f keys, if you could help me, that would be great.
Thanks in advance.