how to lock letters in keyboard?? RRS feed

  • Question

  • hi good day.

    can you help me to settle my problem??

    i want to lock the letters in keyboard so that my program can accept only a number..

    what is the code for that ??

    i am using vb.net 

    thank so much

    Wednesday, April 23, 2014 11:30 AM

All replies

  • Use a MaskedTextBox control and set the Mask property to “00000000”.

    Wednesday, April 23, 2014 12:01 PM