Text Box Validation

klharris

New member
Joined
Jul 10, 2006
Messages
3
Programming Experience
Beginner
Hi All,

I am brand new to this forum and a vb.net newbie. I have attempted to search the answer in this very thorough forum before posting so my apologies if I have overlooked a previous post on this subject.

I have a text box that the user should only enter words consisting of letters A-Z or a-z. Is there an easy way to validate the input or do I need to loop through each character using perhaps Asc(strWord) that must be between 65 and 90 or 97 through 122? Any help, suggestions and code examples are greatly appreciated.

Thanks,
Karen
 
Back
Top