by AJALA QUADRI (1 Submission)
Category: Custom Controls/Forms/Menus
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Mon 24th May 2004
Date Added: Mon 8th February 2021
Rating: (1 Votes)
To convert all character that is typed to upperacase automatically
'just place a textbox control on your form, and name it txtTest
'add the following code into its KeyPress event
Private Sub txtTest_KeyPress(KeyAscii As Integer)
If KeyAscii >= 90 And KeyAscii <= 122 Then
KeyAscii = KeyAscii - 32
Else
KeyAscii = 0
End If
End Sub
No comments have been posted about To convert all character that is typed to upperacase automatically. Why not be the first to post a comment about To convert all character that is typed to upperacase automatically.