ES VERDAD.
yop probe esto.
Private Sub TextBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress
If (e.KeyChar = Convert.ToChar(Keys.F4)) Then
MsgBox("HOLA")
End If
End Sub
y no muestra nada cuando presiono "F4".
pero cuando pruebo esto
Private Sub TextBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress
If (e.KeyChar = Convert.ToChar(Keys.A)) Then
MsgBox("HOLA")
End If
End Sub
me muestra hola. (Cuando presiono "A")