Xceed Zip for COM/ActiveX on x86/x64 Documentation
Example topics
/ BasePath property example
In This Topic
BasePath property example
In This Topic
Let's say you want to zip all the .BMP files in the "C:\SERVER5\COMMON\DATA\BITMAPS\" folder, but you only want the "DATA\BITMAPS\" portion of the path to be stored before each filename. Note the following code:
'If you use the above code, your files will be stored in the zip file with the following (incorrect) ' path and file names (the drive letter and colon are always discarded):