Results 1 to 5 of 5

Thread: Compression

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2001
    Location
    Durham, NC
    Posts
    28
    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.

  2. #2
    Hyperactive Member noble's Avatar
    Join Date
    Nov 2000
    Location
    Philly
    Posts
    471
    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.
    Bababooey
    Tatatoothy
    Mamamonkey

  3. #3
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    You could always use zLib - that combined with your own password methods (they're not too hard, but try MD5 if you're stuck ).
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  4. #4
    New Member
    Join Date
    Mar 2001
    Posts
    1

    Talking

    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

  5. #5
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    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/
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width