madushka930
2011-10-09 13:13:38 UTC
iwant to find the pressed key is lower or upper how can i do this..
please help me... i tried this .. but i have got an same result at
every time..
Private Sub Form1_KeyPress(ByVal sender As Object, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles Me.KeyPress
If e.KeyChar.IsLower(ChrW(Keys.A)) Then
MsgBox("a")
Else
MsgBox("A")
End If
END SUB
please help me... i tried this .. but i have got an same result at
every time..
Private Sub Form1_KeyPress(ByVal sender As Object, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles Me.KeyPress
If e.KeyChar.IsLower(ChrW(Keys.A)) Then
MsgBox("a")
Else
MsgBox("A")
End If
END SUB