Home
Search
 
What's New
Index
Books
Links
Q & A
Newsletter
Banners
 
Feedback
Tip Jar
 
C# Helper...
 
XML RSS Feed
Follow VBHelper on Twitter
 
 
MSDN Visual Basic Community
 
 
 
 
 
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-2010 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated