Ok I am doing a project at school (I am allowed to get help so don't ask) that Validates Phone Numbers. Basically all i need to do is make so that when you type something in the text box. It accepts dashes. Not Letters. When i do this
If IsNumeric(txtPh one.Text) = False Then
MsgBox("Please Put in a valid Phone Number")
That is what i put. But if you put in a dashes it will say the same and i don't want that. How can i fix this problem?
If IsNumeric(txtPh one.Text) = False Then
MsgBox("Please Put in a valid Phone Number")
That is what i put. But if you put in a dashes it will say the same and i don't want that. How can i fix this problem?
Comment