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.
Re: UNZIP Using Pure Visual Basic
Quote:
Originally Posted by
cliv
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.
Re: UNZIP Using Pure Visual Basic
Quote:
Originally Posted by
RhinoBull
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
Re: UNZIP Using Pure Visual Basic
So what's the problem? Clearly you have a solution in that first link...
-tg
Re: UNZIP Using Pure Visual Basic
Sample from psc is NOT pure VB6 - it uses a whole bunch of 32 bit windows api functions/conts from kernel32 and shell32 dll's.
Sample code from the link I provided uses zip32/unzip32 dll's instead.
Re: UNZIP Using Pure Visual Basic
Quote:
Originally Posted by
cliv
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>
Re: UNZIP Using Pure Visual Basic
Quote:
Originally Posted by
wqweto
Here is a pure VB6 implementation just for unzipping
Thank you...WORK WELL