Click to See Complete Forum and Search --> : Compression
damicatz
Jan 23rd, 2001, 11:17 AM
Is their a free control that handles zip flies or any other type of compression. I need password protection support. I tried on Activex.com but the free ones either had dead links or corrupted files.
noble
Jan 25th, 2001, 12:26 PM
if you're an adept coder, you can write a DLL in C that
handles the compression algorithms of a zip file and
write the rest of the code in VB.
I have done a similar project. I wrote a small application
that opens a zip file and shows what files are in the
zip and all other necessary information. There is
actually about 8 different compression methods that
can be used when zipping a file. The simplest method
of compression is the only one that my program handles.
I wrote the algorithm in C++ and I use the DLL in my VB
program. I originally made the whole program in VB
but VB's handling of bit manipulations is basically
nonexistnet. If you would like the code for my DLL and
you are familiar with C, let me know.
parksie
Jan 25th, 2001, 01:56 PM
You could always use zLib - that combined with your own password methods (they're not too hard, but try MD5 if you're stuck :)).
huzu
Mar 6th, 2001, 11:59 PM
Dear noble,
Could U please send me the Compiled version of the dll file that you coded. Actually I'm looking for a method of compressing (zipping) a single file. The path (destination & source) will be provided to it along with the zipping method (one of nine available algorithms) & it will zip it accordingly.
Thankyou very much,
Huzefa
parksie
Mar 7th, 2001, 12:00 PM
zLib can do this, since it's compression only (you need your own file format so it's really versatile) -- http://www.info-zip.org/pub/infozip/zlib/
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.