Error handling is an essential procedure in Visual Basic programming because it can help make the program error-free. An error-free program can run smoothly and efficiently, and the user does not have to face all sorts of problems such as program crash or system hang.
Errors often occur due to incorrect input from the user. For example, the user might make the mistake of attempting to ask the computer to divide a number by zero which will definitely cause a system error. Another example is the user might enter a text (string) to a box that is designed to handle only numeric values such as the weight of a person, the computer will not be able to perform an arithmetic calculation for text, therefore will create an error. These errors are known as synchronous errors.
To learn how to write code for errors handling, we suggest you get hold a copy of Visual Basic 6 Made Easy.
AUTHOR: DR. LIEW VOON KIONG
VISUAL BASIC 6 MADE EASY is an eBook written by our webmaster, Dr.Liew. It was used as a textbook by the University of Wesleyan. You can use this book as a textbook for your VB course or project.
By reading this book, you can:
You can also use the book in many ways, such as:
Order this book and you can Download the FREE Source Codes for the sample VB6 programs illustrated in this book. Click the Order button below to get your e-book and the free stuff.
*Please wait for 10 seconds for PayPal to redirect you to E-book Download Page after ordering and making payment.
Mode of Delivery: Download
This site and the products and services offered on this site are not associated, affiliated, endorsed, or sponsored by Microsoft, nor have they been reviewed tested or certified by Microsoft.
If you require assistant and technical support, please contact:Admin