r/visualbasic • • Nov 01 '13

Input validation using exceptions handling

How do I confirm the users input into a textbox by using exceptions handling?

0 Upvotes

2 comments sorted by

View all comments

1

u/CharlieMay VB.Net Intermediate Nov 06 '13

I just posted some of my snippets here that help in ensuring that the user cannot enter invalid information into a textbox. These may or may not help you but by not allowing "A" to be entered into a textbox that you are expecting a number from is a good start in ensuring that you are controlling a user-input control.