ASP 101 - Active Server Pages 101 - Web01
The Place ASP Developers Go!

Windows Technology Windows Technology
15 Seconds
ASP 101
ASP Wire
VB Forums
VB Wire
internet.commerce internet.commerce
Partners & Affiliates
ASP 101 is an site
ASP 101 is an site
Internet News
Small Business
Personal Technology

Corporate Info
Tech Jobs
E-mail Offers

ASP 101 News Flash ASP 101 News Flash

 Top ASP 101 Stories Top ASP 101 Stories
Migrating to ASP.NET
Getting Scripts to Run on a Schedule
The Top 10 ASP Links @

Using Cookies in your ASP page
Show All Tips >>
ASP 101 RSS Feed ASP 101 Updates

A Custom ASP Error Class with Pop-up Dialog Box

by Matt Rutledge

Have you ever needed some custom error handling for your asp site. I found that we had a need for it at my office, so I came up with a class that uses VBScripts Error handling object.

The error class, CError, allows you to display a custom dialog box with the option to have a detailed message, a general message, and log the error in a file for later reference. It also uses some JavaScript and DHTML to allow the user to drag the dialog box around. But since this article is more about the Error Handling that will not be discussed.

Sample CError Dialog Box

Without further ado here is the code. The zip file contains the error class, the images used, as well as a sample page which illustrates usage of the class.

Matt Rutledge

Home |  News |  Samples |  Articles |  Lessons |  Resources |  Forum |  Links |  Search |  Feedback
The Network for Technology Professionals



Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers