If Char.IsLetter(textbox1.Text) = False Then
MsgBox("Error! Invalide charecters present")
Exit Sub
End If If
I was just wondering if there is some sort of loop that i can do so that it checks all of the characters in the text box. Any help appreciated! Thanks.
Sorry the piece of the code in the center should be...
If Char.IsLetter(txtCustomerName.Text) = False Then
MsgBox("Error! Invalide charecters present in customers name")
Exit Sub
End If
This post has been edited by smohd: 08 February 2012 - 06:23 AM
Reason for edit:: fixed code tags

New Topic/Question
Reply




MultiQuote




|