skip to main
|
skip to sidebar
VB 6 for Beginners
search
this site
the web
ad exchange
Tuesday, March 16, 2010
Allow only Numbers in Textbox
'Add 1 TextBox To Your Form.
'Insert the following code to your form:
Private Sub Text1_KeyPress(KeyAscii As Integer)
If KeyAscii < 47 Or KeyAscii > 57 Then KeyAscii = 0
End Sub
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Your Ad Here
Followers
Blog Archive
▼
2010
(6)
▼
March
(6)
VB Code for Adding Values in Combo at Runtime
Upper Case Letters in Text Box in vb.net
Drop Down the Combo Box List
Allow only Numbers in Textbox
VB6 code for Clearing all Textbox in a Form
VB code to Set The Text Box Cursor Position
About Me
Abhi
View my complete profile
Search Engine Optimization and SEO Tools
No comments:
Post a Comment