Home
Search
 
What's New
Index
Books
Links
Q & A
Newsletter
Banners
 
Feedback
Tip Jar
 
 
 
 
 
 
 
 
Old Pages
 
Old Index
Site Map
What's New
 
Books
How To
Tips & Tricks
Tutorials
Stories
Performance
Essays
Links
Q & A
New in VB6
Free Stuff
Pictures
 
 
 
TitleDisplay a nice graphical error form when the program catches an error
Keywordserror handling, bug proofing, error report, error log
CategoriesSoftware Engineering
 
Thanks to Deepesh Agarwal.

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.

See the code for details.

 
 
Copyright © 1997-2003 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated