Home
Search
 
What's New
Index
Books
Links
Q & A
Newsletter
Banners
 
Feedback
Tip Jar
 
C# Helper...
 
XML RSS Feed
Follow VBHelper on Twitter
 
 
MSDN Visual Basic Community
 
 
 
 
 
 
TitleMake a numeric field using the KeyPress and Change event handlers
KeywordsTextBox, numeric
CategoriesControls
 
By Rob Crombie.

In the TextBox's Change and KeyPress events, see if the value looks like a valid number. If not, display an error message or otherwise signal the error. See the code for details.

 
 
Copyright © 1997-2010 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated