FAQ

Polar ZIP Light allows you to seamlessly add zipping functionalities to your applications.


Click here to read General FAQ…

Tehnical Q&A

Is Polar ZIP Light compatible with ZIP standard?
Polar ZIP Light is 100% compatible with PKZIP 2.04g file format. ZIP files created by Polar ZIP can be used by PKZIP 2.04g and vice-versa.

Why are some anti-spyware programs detecting Polar ZIP Light as spyware?
Our product is free from spyware and viruses for sure. We believe the problem is in anti-spyware software so you should contact the manufacturer of your anti-spyware program in order to resolve this issue.

Can Polar Zip Light extract or list archiveswith the following file extensions . and .arc?
Polar Zip Light deals only with zip archives that are compatible with the PKZIP format.

What does the installation of the Polar Zip Light Component include?

  • Polar ZIP Light Components
  • PolarZIPLight.dll Polar Zip Light ActiveX control (Installed in WIN/SYS directory)
  • Polar ZIP Documentation
  • PolarZipLight.chm Developer’s on-line Documentation
  • License.txt License agreement
  • ReadMe.txt Information about installation, registration, etc.
  • Polar ZIP Sample Files
  • Source code for the samples written in Visual Basic 6.0 (using ActiveX)
  • Source code for the sample written in Visual C++ 6.0 (using ActiveX)
  • Source code for the sample written in Borland Delphi (using ActiveX)
  • Source code for the ASP Sample
  • Demo Browser (for easier browsing through the samples)

How do I create zip archive with ZipLight component?
Add the ZipLight component from component toolbox to your form. Follow the next procedure to create all programming that you need for archive creating:

  1. set the name of the output zip file (that is name of archive where you want to add files);
  2. set the source directory where the files we want to add to archive are placed;
  3. set filter which marks which files are going to be processed;
  4. call the ‘Add’ method which adds specified files to archive.

Code sample
Add the following code to event which is supposed to create zip archive.

ZipLight1.ZipFileName = "c:\output.zip"
ZipLight1.SourceDirectory = "c:\srcdir"

ZipLight1.FilesToProcess = "*"

ZipLight1.Add

How do I extract zip archive with ZipLight component?
Add the ZipLight component from component toolbox to your form. Follow the next procedure to create all programming that you need for extracting from archive:

  1. set the name of the input zip file;
  2. set the output directory where to extract files from archive;
  3. set filter which marks which files are going to be processed;
  4. call the ‘Extract’ method which extracts specified files from archive.

Code sample

Add the following code to event which is supposed to extract files and folders from zip archive:

ZipLight1.ZipFileName = "c:\source.zip"
ZipLight1.ExtractDirectory = "c:\outputdir"

ZipLight1.FilesToProcess = "*"

ZipLight1.Extract

How to delete files from zip archive with ZipLight component?
Add the ZipLight component from component toolbox to your form. Follow the next procedure to create all programming that you need to delete files from archive:

  1. set the name of the zip file from which we want to delete files;
  2. set filter which marks which files are going to be processed;
  3. call the ‘Delete’ method which deletes specified files from archive.

Code sample
Add the following code to event which is supposed to delete files from zip archive:

ZipLight1.ZipFileName = "c:\backups\backup.zip"
ZipLight1.FilesToProcess = "*.bak"

ZipLight1.Delete

I add the new Polar ZIP Light ActiveX to my application, in VB 6.0 Sp 5. This application works fine on Win98 PC but doesn’t work on Windows XP?
Check out if the Polar ZIP Light is correctly registered on the Win XP. We have tested this product and it is compatible with the Windows XP.
You should reinstall Polar Zip Light, and try to run your application again.

I use VB 6.0 and from a VB program I want to zip (and unzip) an Access2000 database. Can I do this and are the how to instructions easy to understand? Are there code examples? Assuming that you have what I need, which version do I need (the least expensive consistent with my needs)?
For the task you described, functionalities that our Polar ZIP Light component provides will be perfectly sufficient. We provide numerous samples for ASP, Visual Basic, Delphi and Visual C++ development environments. Our help files and web page also provide How-To’s.

I am using Polar Zip Light to try to unzip a .z file. It gives me the error “Specified zipfiles were not found” The .z file can be unzipped manually using WinZip.
Calling List without specifying which files to process caused errors. You should call List later or even separately. Here is source code that will work:

Set mfrmZipper = New frmZipper
' Load mfrmZipper

With mfrmZipper.ZIPLight1

ZipFileName = CORP_LOCAL_DIR & CORP_ZIP

FilesToProcess = "*"

ExtractDirectory = CORP_LOCAL_DIR

List

Extract End With

Is there a way to create a folder in a zip light file? I would like to zip files NOT with the original folder, but would like to create one and add files to the zip folder.
It is not possible to create a folder in ZIP file conventionally on your disk. However, you can catch FileStartedCompressing Event and change every file name that represents font ? (there is a function to detect this ) and simply append the folder name in front of it.
So the FileName will be “arial.ttf” when event handling starts and then you change it to “fonts\arial.ttf



 

© 1995 - 2018 Polar d.o.o.