Results 1 to 6 of 6

Thread: search 100drs of zip files and extract file or more

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jun 2022
    Posts
    147

    search 100drs of zip files and extract file or more

    i have a folder containing thousands of zip files and I want to search and extract certain files to the path

    list1 will contain a list of file names I want to search and extract.

    here are a test batch zips
    https://easyupload.io/kxadn0

    just extract the main.zip and examine any zip files and look at the file names and try and search and extract them using list1 file names.
    also, guys, I want it to be the fastest search since I have tons of zips so I want it to fly through it.

  2. #2
    Frenzied Member
    Join Date
    Dec 2014
    Posts
    1,936

    Re: search 100drs of zip files and extract file or more

    do a google search for extract/zip sources. theres a few that can be found. the member wqweto has it even in this Signature.
    I would start there.

    second I would look a way to read the directory of the zip in memory, so no extracting, just getting the files names. so, again, u need to look into that by reading what those alternatives have for features.

    and third, implement that into your own code.

  3. #3
    Angel of Code Niya's Avatar
    Join Date
    Nov 2011
    Posts
    7,731

    Re: search 100drs of zip files and extract file or more

    Out of curiosity I decided to Google this to see what options are out there for zip functionality for VB6. To be honest, results don't look too encouraging to me. Dead links, derelict websites that only work about half the time, ancient posts and pay walls are just some of the things I found. Nonetheless, I will post some of the more promising ones I came across.

    https://www.vbforums.com/showthread....=1#post4211045

    http://www.vb-helper.com/howto_shell_zip_and_unzip.html

    https://www.toolbox.com/tech/program...th-vb6-120710/

    This one is particularly promising:-
    http://computer-programming-forum.co...7d1eb9f30e.htm

    Specifically this post:-
    Code:
    You can use the ZLib dll which is free.
     http://www.info-zip.org/pub/infozip/zlib/
     There's a bit of a how-to on the VBAccelerator site.
     http://www.vbaccelerator.com/codelib/zip/zlib.htm
     Hope this helps.
    regards,
        Dave
    I'm actually familiar with zlib because in another life long ago I actually used it for a VB6 application. However, I only used it because I needed a CRC32 function that was compatible with the PNG format and at the time that was the only place I could find a working implementation of CRC32. Anyways, that library is very popular and is used by a lot of programs to provide zip functionality. That might be your best bet.
    Treeview with NodeAdded/NodesRemoved events | BlinkLabel control | Calculate Permutations | Object Enums | ComboBox with centered items | .Net Internals article(not mine) | Wizard Control | Understanding Multi-Threading | Simple file compression | Demon Arena

    Copy/move files using Windows Shell | I'm not wanted

    C++ programmers will dismiss you as a cretinous simpleton for your inability to keep track of pointers chained 6 levels deep and Java programmers will pillory you for buying into the evils of Microsoft. Meanwhile C# programmers will get paid just a little bit more than you for writing exactly the same code and VB6 programmers will continue to whitter on about "footprints". - FunkyDexter

    There's just no reason to use garbage like InputBox. - jmcilhinney

    The threads I start are Niya and Olaf free zones. No arguing about the benefits of VB6 over .NET here please. Happiness must reign. - yereverluvinuncleber

  4. #4
    Frenzied Member
    Join Date
    Dec 2014
    Posts
    1,936

    Re: search 100drs of zip files and extract file or more

    I was more thinking of him doing a google search to this specific site, but yeah theres others as well, but as u say, there can be dead links and can many bad sources.
    but googling "here". will give u more results

    https://www.google.com/search?q=zip+...w.vbforums.com

    also, check wqweto code: https://github.com/wqweto/ZipArchive

  5. #5
    PowerPoster Arnoutdv's Avatar
    Join Date
    Oct 2013
    Posts
    5,250

    Re: search 100drs of zip files and extract file or more

    I still use the Zip Extraction Class provided by McMillan's Visual Basic Code, it uses the ZlibWapi.dll to extract files from ZIP archives.
    The site doesn't exists anymore, but a backup can be found here:
    https://web.archive.org/web/20100330...tionClass.html

  6. #6

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