How to prevent the User from writing some characters in a TextBox.
For example: If User try to type digits - the TextBox will stay clear.
In VB6 I did it very simply: KeyAscii = 0 in TextBox_KeyPress event, but how do it in VB.NET ???
Thanks.
For example: If User try to type digits - the TextBox will stay clear.
In VB6 I did it very simply: KeyAscii = 0 in TextBox_KeyPress event, but how do it in VB.NET ???
Thanks.