How should a textbox accept numeric and one dot character only in VB.NET?

Jamsky

New member
I want my textbox to accept only numeric and a dot character but the dot character should be encoded once only, once the user enter another dot a messagebox will appear.. I'm planning to put this in the keypress event of the textbox..

Can anyone help me?
 
Back
Top