Results 1 to 7 of 7

Thread: UNZIP Using Pure Visual Basic

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Feb 2006
    Location
    Craiova, Romania
    Posts
    140

    UNZIP Using Pure Visual Basic

    I need to unzip all file from a *.zip ....can someoane have a module, class for unzip using only vb6 code. I don't want to use any dll or ocx for this.
    I found this:
    http://www.vbforums.com/showthread.p...mpress+vb+pure
    ...but it's only for compression.

  2. #2
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: UNZIP Using Pure Visual Basic

    Quote Originally Posted by cliv View Post
    I don't want to use any dll or ocx for this
    I'm afraid you won't be able to do anything then - most of compression utilities use InfoZip like algorithm which we couldn't even use until AdressOf operator was introduced in VB5.
    Take a good look at this sample to make best of it.
    vbAccelerator also has nice sample posted.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Feb 2006
    Location
    Craiova, Romania
    Posts
    140

    Re: UNZIP Using Pure Visual Basic

    Quote Originally Posted by RhinoBull View Post
    I'm afraid you won't be able to do anything then
    Take a look here:
    http://www.planet-source-code.com/vb...53174&lngWId=1
    ...this sample can extract zip file....in vb6 code only...

    Code from here:
    http://www.vbforums.com/attachment.p...1&d=1125057308
    is base on this but only for compresion. I need Decompresion

  4. #4
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: UNZIP Using Pure Visual Basic

    So what's the problem? Clearly you have a solution in that first link...

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  5. #5

  6. #6
    PowerPoster wqweto's Avatar
    Join Date
    May 2011
    Location
    Sofia, Bulgaria
    Posts
    6,192

    Re: UNZIP Using Pure Visual Basic

    Quote Originally Posted by cliv View Post
    I don't want to use any dll or ocx for this.
    Here is a pure VB6 implementation just for unzipping

    https://github.com/wqweto/UnzipClass

    It's a single class with no external or other modules dependencies.

    cheers,
    </wqw>

  7. #7

    Thread Starter
    Addicted Member
    Join Date
    Feb 2006
    Location
    Craiova, Romania
    Posts
    140

    Re: UNZIP Using Pure Visual Basic

    Quote Originally Posted by wqweto View Post
    Here is a pure VB6 implementation just for unzipping
    Thank you...WORK WELL

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