Hi all
Does anyone know how to Allow a User only to Type numeric characters only into a textbox.
I know in VB6 you could catch the char and set it to '0' if not valid
Code:If not KeyAscii = '27' thenCode:keyascii = 0But how do you make it work in VB.NET ?Code:End If
I have tried adding the Numberbox control to my app but somehow I get errors with this control when exiting the App![]()




Reply With Quote