VB - Error Handling
Have you ever had an error like this?:
I will teach you how you can suppress these errors so your application won't crash anymore.
All you need to do is add 'Try - Catch' to your codes.
e.g. The codes above;
When an error occures, your program won't crash, it will show a messagebox explaining there was an error.
You could also just leave it blank after Catch, like this:
Download the source codes:
ErrHandling.rar (59,7 kB)
Topic: VB - Error Handling
Subject: Where is where