See here:
http://www.dogma.net/markn/articles/zlibtool/zlibtool.htm
There's a tutorial and the zlibtool download
linked from that page contains the OCX.
There's also VB code around for the
zlibwapi DLL, which uses Stdcall functions
accessible from VB, as opposed to the
normal zlib DLL. I don't have a link for that
but I've seen several examples. What I haven't
seen ( and would be interested in seeing)
is full sample code for editing files with zlibwapi.
Apparently the zlib functions are designed to
be very familiar to C programmers, in terms of
reading and writing files, so there's not much
documentation for that. And the VB sample code
I've seen has all been for the same two zlib
functions - compress and uncompress.
I also don't know whether a zlib file is actually
readable as a ZIP or only as another variant.
For zip specifically there's the info-zip DLLs.
Unfortunately, though, you need one for compress
and one for uncompress, and they're quite big
for what they do.
Post by Homer J SimpsonPost by LouWhat API do I use to create a .zip file
There is a public project which handles zipping and unzipping support for
VB6.