Situation: The program runs and the user is instructed to enter his or her name in a textbox(txtNAME)and then hit ok (cmdOK).

What code would I put in for cmdOK so that if 10 or more characters are entered in txtNAME a message box saying "Your name is too long" appears?




If you can help me out I would appreciate it.

Thanks in advance


Beres

[email protected]