VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



A code snippet which converts the first characters of the first name, middle name and last name int

by Rajesh Sivaraman (4 Submissions)
Category: String Manipulation
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Fri 16th January 2004
Date Added: Mon 8th February 2021
Rating: (1 Votes)

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




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



Download this snippet    Add to My Saved Code

A code snippet which converts the first characters of the first name, middle name and last name int Comments

No comments have been posted about A code snippet which converts the first characters of the first name, middle name and last name int. Why not be the first to post a comment about A code snippet which converts the first characters of the first name, middle name and last name int.

Post your comment

Subject:
Message:
0/1000 characters