Find Code:
All Words
Any of the Words
Exact Phrase
Home
:
Code
:
Forums
:
Submit
:
Mailing List
:
About
:
Contact
Code
All
VB.NET
ASP.NET
C#
VB Classic
ASP Classic
Snippets
Popular
Resources
Submit Code
Forums
Articles
Tips
Links
Books
Contest
Link to us
Numeric Textbox
Author:
Gehan Fernando
E-mail:
Click to e-mail author
Submitted:
2/24/2011
Version:
VB 2010
Compatibility:
VB 2005, VB 2008, VB 2010
Category:
Miscellaneous
Views:
7299
Simple numeric Text box.
Declarations:
' Create Windows Application ' Added Text box Control ' Added following code to the KeyPress event
Code:
Dim digit As Char = e.KeyChar If Char.IsDigit(digit) Then e.Handled = False Else e.Handled = True End If
Home
|
Forums
|
Submit
|
Books
|
Mailing List
|
Advertising
|
About
|
Contact
© 2024 A1VBCode. All rights reserved.
Legal disclaimer & terms of use
Privacy statement