Use the Zip control to add file compression/decompression and advanced encryption to applications written in many development environments. These quality tools represent state-of-the-art component design. Our customers deserve nothing less:
' Add items to the FileStore using the Add method
' Zip all of the files into "zippedfiles.zip"
Example 2' The second example demonstrates compressing and AES encrypting several files into a single compressed file.
' Add files to the FileStore.
' Encrypt them with the strongest possible level of AES encryption.
Zip1.FileStore.Add "C:\Test\file1.txt", , , "mypassword", zipAESMaximum
Zip1.FileStore.Add "C:\Test\file2.txt", , , "mypassword", zipAESMaximum
Zip1.FileStore.Add "C:\Test\file3.txt", , , "mypassword", zipAESMaximum
' Zip all of the files into "encrypted.zip"