Alphanumeric
Visual Basic
3
Posts
3
Posters
0
Views
1
Watching
-
Does a textbox control, placed on a form, have a inhereted methid in vb.net to do a alphanumeric validation? If not, what is the easiest way to achieve this? Thanks.
-
Does a textbox control, placed on a form, have a inhereted methid in vb.net to do a alphanumeric validation? If not, what is the easiest way to achieve this? Thanks.
No, you have to code it yourself. You can make your own TextBox by creating a class, inheriting from TextBox, and adding validation code by handling the KeyDown event and screening out characters that are not numbers. You can find lots of example by just simplying searching[^] the articles here on CP. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome