I'm just getting started with VB.net and am finding the switch from VB6 very painful. I am working on a Windows form that has bound fields to an access database. The fields are of type double. I want to include error checking to make sure that characters are not entered into the fields. It doesn't seem like this should be very difficult, but I can't seem to figure out where I need to trap the error.
I've tried handling it in the mycontrol_validating method and also in try-catch code in the mycontrol_click method of my navigation buttons. The error is thrown before these methods are even executed.
Can anyone tell me how to trap this error.
Thanks for any help you can give me.
I've tried handling it in the mycontrol_validating method and also in try-catch code in the mycontrol_click method of my navigation buttons. The error is thrown before these methods are even executed.
Can anyone tell me how to trap this error.
Thanks for any help you can give me.