Validating text entered into a VB text box
Ok im makeing a program which asks a question and the user has to enter an answer into a txt box. When they do this an OK button appears and when that is clicked it tells them if their question is right or wrong. The problem i have is answers can only be numbers and not letters. How do i get the "ok" button to validate the answer in the text box. If a number is entered the program just gives feed back to the answer . If any thing other than a number is entered it displays a message saying "only numbers can be entered" for example. How do i do this? thanks for anyhelp.
Edit: I know how to do all the other things mentioned. Its just that validation thing i cant work out