' This namespace contains the main class - ZipForge.' Don't forget to add a reference to the ZipForge ' assembly to your project referencesImports ComponentAce.Compression.ZipForge
' This namespace contains ArchiverException class ' required for error handlingImports ComponentAce.Compression.Archiver
Sub Main(ByVal args() AsString)
' Create an instance of the ZipForge classDim archiver As ZipForge = New ZipForge()
' Set the name of the archive file we want to create
archiver.FileName = "c:\test.zip"' open an existing ZIP file
' start transaction
Try' rename a file
' delete .dat files
' add new files
archiver.BaseDir = "C:\XML"
EndTry' close archive
The other people in the office didn't believe me when I said that all I had to do was document the problem and you would probably give me a fix overnight. Unbelievable! Keep up the great work. I hope you guys all make a fortune out of this product because it is truly fantastic and the support is the best I have ever encountered.