Click here to Skip to main content
15,884,676 members
Articles / Programming Languages / Visual Basic

VB.NET TextBox Validation Control

Rate me:
Please Sign up or sign in to vote.
4.28/5 (34 votes)
29 Apr 2005CPOL3 min read 326.1K   6.5K   49  
A TextBox control witch validates user input with the use of a regular expression. If the user input is invalid, both foreground and background colors may be set to preset colors giving the user a visual clue. The control will also send an event to the hosting program when a validation error occurs.

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Systems Engineer Unemployed
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions