The most comprehensive to not just be able to zip and unzip a whole archive but also add single files, extract single files, get a list of included files, have a progress display is VFPCompression. Results are also fully compatible to be used with winzip, winrar or 7zip.
You can also zip and unzip with the OS itself. See faq184-5113
Just one caution with this: Since you're working with a secondary process here (Shell.Application), your code continues before the actions you trigger are complete. There are several threads here about this way of zipididip, that point out detail problems with it.
And also look into the whole FAQ section, that has extremely many posts on that topic.
Sweet Potato Software's VFPCompression is very good. I use it daily.
I think it is based on the xzip.dll
The only reservations I have are the 2GB limit on the file size, and a certain amount on instability that does appear when the final zip files approach that size.
Regards
Griff
Keep [Smile]ing
There are 10 kinds of people in the world, those who understand binary and those who don't.
I'm trying to cut down on the use of shrieks (exclamation marks), I'm told they are !good for you.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.