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



Windows Technology Windows Technology
15 Seconds
4GuysFromRolla.com
ASP 101
ASP Wire
VB Forums
VB Wire
WinDrivers.com
internet.commerce internet.commerce
Partners & Affiliates
ASP 101 is an
internet.com site
ASP 101 is an internet.com site
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
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 @ Microsoft.com

QUICK TIP:
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.

Thanks,
Matt Rutledge
ruts@datausa.com


Home |  News |  Samples |  Articles |  Lessons |  Resources |  Forum |  Links |  Search |  Feedback

Internet.com
The Network for Technology Professionals

Search:

About Internet.com

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