When User Type a Password, How to give a message CAPS LOCK is On or not.
Private Sub txtPassword_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles txtPassword.TextChanged
If My.Computer.Keyboard.CapsLock = True Then
'MsgBox("CAPS LOCK is ON", MsgBoxStyle.Information, "Password")
End If
End Sub
Thursday, July 10, 2008
Subscribe to:
Post Comments (Atom)
1 comment:
thanks.. this is best of the best tutorial.
Post a Comment