The project is to integrate the Chilkat Zip ActiveX component into a Microsoft Visual Basic 6 (VB6) project. A simple VB6 project has been provided in the attached zip file. This contains a form. The form has a listview control, a menu and a status bar. The project is to use the Chilkat Zip ActiveX component to open a zip file, display the contents of the zip file in the listview control in the VB form and allow the user to delete or extract files from the zip file using a simple right-click (pop-up) menu.
The Chilkat Zip ActiveX (Win32) can be downloaded from: [login to view URL]
Reference documentation can be found at: <[login to view URL]>. This describes the API.
## Deliverables
# Background
The project is to integrate the Chilkat Zip ActiveX component into a Microsoft Visual Basic 6 (VB6) project. A simple VB6 project has been provided in the attached zip file. This contains a form. The form has a listview control, a menu and a status bar. The project is to use the Chilkat Zip ActiveX component to open a zip file, display the contents of the zip file in the listview control in the VB form and allow the user to delete or extract files from the zip file using a simple right-click (pop-up) menu.
The Chilkat Zip ActiveX (Win32) can be downloaded from: [login to view URL]
Reference documentation can be found at: <[login to view URL]>. This describes the API.
## Chilkat Information
The Chilkat Zip ActiveX (Win32)can be downloaded from: [login to view URL]
Reference documentation can be found at: <[login to view URL]>. This describes the API.
The components can be used for a 30 day trial period. For more information on the trial period: [login to view URL] The project can be completed using the 30-day trial.
## More Information
The project is to be developed using Microsoft Visual Basic 6 Service Pack 6 (VB6 SP6)
The developed application should be able to run on Windows XP, Vista, 2003.
Download and install the Chilkat component from [login to view URL]
Use the simple VB6 project in the zip file attached to this proposal. The project contains a form, listview control, a menu and a simple status bar. The VB project uses the "Microsoft Windows Controls 5.0 (SP2)" for the listview control and status bars. However a later version of the Microsoft Windows Controls can be used if necessary.
## Open Zip
When the user selects the
**File Open** menu from the VB6 menu, the application should display a Windows open dialog box and allow the user to select a zip file. The open dialog box should be the the standard Windows XP /Vista dialog box. The file type should be prefilled with **zip**.
When the user selects the zip file and presses OK on the open dialog, the zip file should be opened. The contents are to be displayed in the listview control on the main form. A simple progress bar or number should be displayed in the status bar at the bottom of the form. There should be three columns in the listview control. "**FileName**" is to show the filename of the file extracted from the zip file. The "**Size**" column should show the size of the file. "**Path**" should show the path of the file extracted from the zip file.
The user should be able to select one file, a number of files or all files from the listview control. The user should then be able to right click and offered the **delete** and **extract** optionsin a right-click pop-up menu**.
I**f the user chooses to delete the file selection, he should be asked if he is sure that he wants to delete the file. If he chooses yes,the selected files should be removed from the both the listview control and the zip file. The updated zip file should be saved.
If the user chooses to extract the selected files, he should be presented with a dialog box which allows him to choose the folder into which the selected files should be written. The relative path of the file should be retained. So if the path in the zip file contains "subdir" and the user selects "c:\test" then the file should be extracted to c:\test\subdir. If the file already exists in the chosen directory the user should be asked whether he wants to overwrite the existing file.
The user should be able to close the zip file using the **File Close** menu option. When the zip file is closed, the listview control should be emptied