reading GZipStream with VB6

Hi folks.

I am having to work with VB6 on a database that is shared with a .NET program.  To save space the original developer of the .NET program has used to compress some text data.

I need to unzip this in VB6 so i can integrate it into our other system.

Can anyone point me to some code/examples that does this.

Many thanks
Who is Participating?
HooKooDooKuConnect With a Mentor Commented:
I think you're going to need a third party dll.  

I believe a free third-party dll you might be able to use is zlib.dll (

Not totally sure if this dll supports GZip.  But if it does, post #4 of the following forum message shows some samples how zlib.dll is used in VB6. (

Do your users already have some compression software on their systems, such as 7-zip or WinZip?  If so, you should be able to shell the command to decompress the file and then read it into your VB application.
marcwolfAuthor Commented:
Many thanks
Just what I was looking for.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.