There are those time when zip files are required and for those time I recommend using the BCS Delphi XE8 Zip Interface.
When you click on the Select Zip menu item the following dialog appears.
The file list box is then populated with all the zip files at that location.
When you double click on any item in the list of zips the following dialog will appear.
This dialog list all the possible actions for the selected zip file.
- Execute
This feature will invoke the 7 zip interface for subsequent use.
- Search
The Search option allow the user to specify a search string and all the zip file contents file specifications that match the search string will be highlighted.
When the user clicks OK the following results appear.
All items containing the string to detect are highlighted. - Rename
When the user clicks on the Rename option the following dialog will appear.
Move the mouse over the New File Name area and designate the new file name. The rename is made in the interface is updated. - Create New Zip
When the user desires to create a new zip file the following dialog appears.
Then the following dialog appears.
When you click on the Yes button a zip you have specified is created. Care should be taken if a zip already exists that has the same name. I recommend renaming the existing zip to a new file name and let the newly created zip occupy the default zip name. This approach allows the zip file versioning. - Delete Zip File
To delete and existing file double click over that file and the following confirmation will appear.
When the user selects the Yes option the designated zip file is deleted.
As you can see this utility will handle every scenario when creating or utilizing zip files.
A 32 bit executable program may be downloaded by clicking here.
A 64 bit executable program may be downloaded by clicking here.
The component documentation can be found by clicking here.
The source code may be found by clicking here.
Mr. Arch Brooks, Software Engineer, Brooks Computing Systems, LLC authored this article.