I am creating a program to do my archiving on the first day of each month for the previous months data. I am wondering if it is possible using Visual Basic , to zip those files and move them to particular directories, without manually having to do each.
Can someone give me a hand as to where i would start. I am just confused on how to make VB zip a file. What references would i use?, etc. If possible can someone post a code snippet of how this may be done.
Thanks in advance
oobern
Last edited by oobern; Feb 15th, 2005 at 01:30 PM.
Reason: RESOLVED
That sample from vbaccelerator (link was provided by NoteMe) is the best solution by far: wrapper dll is utilizing the same libraries that Winzip does and it works like a charm.
zip32.dll is from 1998. the ones with winzip 9.0 are Feb. 2004
I guess those are 16 bit?
Rather than guessing you should try that thing. If I'm saying it works like a charm - means it works like a charm. Period. But what ever ...
EDIT: here is a quick info directly from vbaccelerator.
Updates: Introduction to the freeware Info-ZIP libraries 26 Jan 2003
Provided a new version of the Info-ZIP Zip32.DLL with encryption code compiled in. This enables you to create password-protected ZIP files.
1 Jan 2000
First Posted
Last edited by RhinoBull; Feb 12th, 2005 at 01:19 AM.