Hello,
I need to change KeyCode = 110 (dot in numeric keyboard) to other symbol (for example "a") in whole application (or form).
I tried such code:
Private Sub frmMain_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyDown
If e.KeyCode = 110 Then
e.Handled = True
System.Windows.Forms.SendKeys.Send("a")
End If
End Sub
but it doesn't work well.
Is there any better way to do it?
Thank You in advance for help!
Larry
I need to change KeyCode = 110 (dot in numeric keyboard) to other symbol (for example "a") in whole application (or form).
I tried such code:
Private Sub frmMain_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyDown
If e.KeyCode = 110 Then
e.Handled = True
System.Windows.Forms.SendKeys.Send("a")
End If
End Sub
but it doesn't work well.
Is there any better way to do it?
Thank You in advance for help!
Larry