Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: Error Handling
gian_damico
Junior Member

Posts: 3
Registered: 6/20/2007
Location: Venezuela
Member Is Offline
posted on 7/4/2007 at 02:57 PM
Error Handling


Is there any documentation about error handling techniques usin ASPZip Component?
View User's Profile View All Posts By User U2U Member
wit
Member

Posts: 23
Registered: 11/19/2004
Member Is Offline
posted on 7/5/2007 at 08:26 AM

You can hadle errors the same way you do it in other asp scripts

e.g.

Code:

//JScript
try
{
zip.Open("");
zip.Read(); //this line will cause error
}
catch(e)
{
handleError(e.description);
}


Code:

'VBScript

On Error Resume Next
zip.Open ""
zip.Read 'this line will cause error

If Err.Number <> 0 then
HandleError Err.Description
Error.Clear
End If
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
Free Download Free Download
Product Documentation Documentation
Documenation Page
Code Samples
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004