I know how to make just numeric textbox, but the problem is that
I wisch to enter in the text box wit 2 numbers and then search trough
a database to recive just zipcodes.
Here i assume that you are familiar with database connectivity
If you wanna extract zipcodes from the database on the basis of textbox value then you must be familiar with database connectivity and for this i would highly recommend
I wisch to enter in the text box wit 2 numbers
For this set
MaxLength property to the value
hope this helps you . . .
Set textbox MaxLength when form load or you can set MaxLength in textbox Properties :
Private Sub Form_Load() Text1.MaxLength = 2 End Sub