by Satheesh (2 Submissions)
Category: String Manipulation
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Wed 17th July 2002
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Validating Textbox ,Accepts only Aphabets, Numbers and "_".Will not allow any control key,Functional key , special key
Case "0" To "9"
' do nothing
Case "a" To "z"
'do nothing
Case "A" To "Z"
'do nothing
Case "_"
'do nothing
Case ""
'do nothing
Case " "
KeyAscii = 0
Case Else
KeyAscii = 0
Exit Sub
End Select
No comments have been posted about Validating Textbox ,Accepts only Aphabets, Numbers and _.Will not allow any control key,Functiona. Why not be the first to post a comment about Validating Textbox ,Accepts only Aphabets, Numbers and _.Will not allow any control key,Functiona.