Hello People,

i have a text box which only allows 2 digits to be entred, is there any way i can have a message box show if the user tries to enter 3 numbers?

or put some code on my button which checks to see if there is a value in the text box, at the moment if i click the enter button it crahses my programe, i would like it to say u have to enter a value first, so this cannot happen

Thank you people!!!