Xceed Zip Compression Library Documentation
ZipManager64 sample application for Visual Basic 6
Sample applications > Visual Basic > ZipManager64 sample application for Visual Basic 6

The Zip Manager 64 Sample Application for Visual Basic can be found in:

Samples\VISUAL BASIC 6\ZIPMANAGER64

The sample includes fully commented source code which should complement the examples available in the online help, but in the context of a real application, not specific examples designed exclusively to demonstrate each method. We propose that you dive right into the sample's source code and take a look.

To use the sample, load the ZIPMANAGER.VBP project file, then run the program.

The Zip Manager 64 Sample Application is a Windows program that allows you to manipulate zip files. By looking at the source code, you will find out how to zip, unzip, delete files, update and test files in a zip file using the Xceed Zip Compression Library v5.0 control. You will also see how event handlers are written for different 64-bit events

The program works in a similar fashion to WinZip™. To create a zip file, you select the "New zip file" item from the File menu. A dialog box will be shown to allow you to enter a path and filename for the zip file, and then the "Add or update files" dialog box will be shown to allow you to add files to the zip file immediately. Just select the files to add, and click the "Zip!" button. Once the files have been added, the listbox will display the (new) contents of the zip file. The other options work in a similar fashion.

The status bar below the main listbox indicates what is currently happening during any zip file operation. For example, when zipping files, it will display the name of each file as it is being zipped. To the right of the status bar is a progress bar that shows you the progress of the current operation. When you are zipping tens of thousands of files, it might take a while before the progress bar starts to show the progress, because the library is scanning the drive to obtain the total number of files you will be zipping – and this can take a few seconds at best.

The source code for this sample application is fully commented. Registered users of Xceed Zip Compression Library can use this sample application, or portions of it, in their own commercial or private applications, royalty-free.