How to use ASP & Zip Server.CreateObject(”Pnvzip.ZipFunctions”) This is tutorial asp developers how to using asp zip file with Pnvzip.ZipFunctions
ShotDev Focus:
- ASP & Zip function
Syntax
Server.CreateObject("Pnvzip.ZipFunctions")
Solution
Error Type:
Server object, ASP 0177 (0×800401F3)
Invalid class string
Solve Problem
Step 1 Download Pnvzip.ZipFunctions
Copy pnvzip12.dll to C:\Windows\System32
Install Microsoft VM
Click Yes
Click Yes
Install complete and click OK.
.
.
.
.
Register DLL Go to Start -> Run -> regsvr32.exe C:\Windows\System32\pnvzip12.dll
Register succeeded.
Example
asp_zip_connect.asp
<%Option Explicit%> <html> <head> <title>ShotDev.Com Tutorial</title> </head> <body> <% Dim objZip Set objZip = Server.CreateObject("Pnvzip.ZipFunctions") If IsObject(objZip) Then Response.write("Pnvzip.ZipFunctions Connected") Else Response.write("Can not Connect to Pnvzip.ZipFunctions") End IF %> </body> </html>
Create a asp file and save to path root-path/myasp/
Run
http://localhost/myasp/asp_zip_connect.asp
Screenshot
3pursuant…
…