Display a nice graphical error form when the program catches an error

Category:
Miscellaneous
Type:
Applications
Difficulty:
Beginning
Author:
Deepesh Agarwal

Version Compatibility: Visual Basic 6, Visual Basic 5

More information:
This example demonstrates some fancy error handling techniques. When it catches an error it: Displays a nice graphical error form. Creates or opens an error log in the application directory and appends the new error information. This information includes system information such as drive statuses, the processes currently running, and environment variables. On NT-based systems, it adds the error to system event log. Can send an error report email to developers.

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download errhandleerrors.zip