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.
Printable View
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.
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.
You could always use zLib - that combined with your own password methods (they're not too hard, but try MD5 if you're stuck :)).
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
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/