Automate Send To -> Compressed (zipped) Folder

B

Brian

Can someone please provide sample Access code for zipping files (the
compression that is done manually via select/right-click of files, then Send
To -> Compressed (zipped) Folder)? I can handle all the file-locating &
file-naming code, but I am looking for the Windows API that actually creates
the ZIP file/folder.
 
T

Tony Toews [MVP]

Brian said:
Can someone please provide sample Access code for zipping files (the
compression that is done manually via select/right-click of files, then Send
To -> Compressed (zipped) Folder)? I can handle all the file-locating &
file-naming code, but I am looking for the Windows API that actually creates
the ZIP file/folder.

If you're looking for the Windows NTFS file compression I couldn't
find information on how to compress the files. Just decompress. See
http://msdn.microsoft.com/en-us/library/aa364219(VS.85).aspx

Now if you mean zip files I'd suggest using the open source Info zip
dlls. I use those lots and quite like them.

Compression DLLs, OCXs, etc
http://www.granite.ab.ca/access/compression.htm

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top