Error Handler: Logs Error and System Info to Disk

Category:
Miscellaneous
Type:
Snippets
Difficulty:
Intermediate

Author: Arvind Bhambhani

Version Compatibility: Visual Basic 6, Visual Basic 5

More information:
Here is a fantastic Error Handler routine. It creates a sophisticated error message and logs the errors to disk It also displays target System info so that you can trace under what configurations / settings the error occured.

The Main func ProcessError is very flexible in terms of args. By passing the ProcedureName args in function you always Know in what Sub/Func the error occured

FOR ANY COMMENTS/SUGGESTIONS PLS MAIL ME : bobby169@indiatimes.com 'Add This Code To A Module

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: