Numeric + 1 character to textbox in vb6
Posted on 2006-05-22
Here is the problem.
I need to be able to stop users from entering non numeric data to a textbox but still allow them to enter the decimal sign.
I have tried various routines, but nothing seems to be working.
The user would enter 6.00 as in six dollars so they need the decimal point. I do have a module that strips out unwanted characters, but it does not prevent the user from initially entering the characters. Copy and paste is not an issue.
Any ideas or code would be appreciated on this.