Sample code for 30+ languages & platforms
Classic ASP Requires Chilkat v11.0.0+

Transition from Zip.FirstEntry to Zip.EntryAt

Provides instructions for replacing deprecated FirstEntry method calls with EntryAt.

Chilkat Classic ASP Downloads

Classic ASP
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<%
success = 0

set zip = Server.CreateObject("Chilkat.Zip")

'  ...
'  ...

'  ------------------------------------------------------------------------
'  The FirstEntry method is deprecated:

' entryObj is a Chilkat.ZipEntry
Set entryObj = zip.FirstEntry()
If (zip.LastMethodSuccess = 0) Then
    Response.Write "<pre>" & Server.HTMLEncode( zip.LastErrorText) & "</pre>"
    Response.End
End If

'  ...
'  ...

'  ------------------------------------------------------------------------
'  Do the equivalent using EntryAt.

'  Your application creates a new, empty ZipEntry object which is passed 
'  in the last argument and filled upon success.

'  The 1st entry is at index 0.
set ze = Server.CreateObject("Chilkat.ZipEntry")
success = zip.EntryAt(0,ze)
If (success = 0) Then
    Response.Write "<pre>" & Server.HTMLEncode( zip.LastErrorText) & "</pre>"
    Response.End
End If


%>
</body>
</html>