Molefe
asked on
Zipping and Unzipping files & folders with VB
I want to write a small application to backup data files for an application I have written. I need to be able to write code that will zip all the data files into a single zip which can later be unzipped (extracted) to restore the data files when necessary. I have read something about Inf-Zip, I haven't quite got around to understanding how to use the win32 DLL's.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
splits between D_M_D and emoreau
I would suggest you invoke/spawn some already existing tool such as PKZip/WZZip if you are running under Windows. If you really need to go for Code and have access to 'C' then a tool called CCUnzip is available as both app and 'C' source from www.programmersheaven.com. I found this particularly useful recently.
Please clarify:
1) What platform.
2) What Language.
3) Do you want the zipped files in standard form (e.g. WinZip/PKZip) or can they be proprietary?
4) What kind of files are they? mpegs and jpegs are unlikely to compress much.
Good luck.
Paul