- Home
·
- String Manipulation
·
- A code snippet which converts the first characters of the first name, middle name and last name int
A code snippet which converts the first characters of the first name, middle name and last name int
A code snippet which converts the first characters of the first name, middle name and last name into upper case automatically. Hope everyone
Rate A code snippet which converts the first characters of the first name, middle name and last name int
(2(2 Vote))
Private Sub Text1_KeyPress(KeyAscii As Integer)
If Text1.Text = "" Then
KeyAscii = Asc(UCase(Chr(KeyAscii)))
ElseIf Text1.Text <> "" Then
If tmp = 32 Then
KeyAscii = Asc(UCase(Chr(KeyAscii)))
Else
KeyAscii = KeyAscii
End If
tmp = KeyAscii
End If
End Sub
A code snippet which converts the first characters of the first name, middle name and last name int Comments
No comments yet — be the first to post one!
Post a Comment