Zip files using VB6

  • Thread starter Thread starter y2kbug
  • Start date Start date
Y

y2kbug

I would like to zip files (all sub-folders and files inside a folder,
but not including that folder).
I have read several articles on the Internet, teaching me using .dll
like Info-zip, Zlib, C..., PKZip, etc.
However, I always meet run-time error!
And one more problem is that, I don't want future users installing a
zip utility before they can use my program, as the main function of my
program is to back-up files in their systems.

I've searched in Google, and discovered here.
I've read a article about the "zip folder" function in Windows XP.
(That reminds me there is such a function in Win XP =.=")
That means Windows XP has the ability to create zip files, right?
So, how to use VB6 to create a zip file (including those folders and
files I've mentioned above), and how to unzip as well?

Thanks!!!
 
y2kbug said:
I would like to zip files (all sub-folders and files inside a folder,
but not including that folder).
I have read several articles on the Internet, teaching me using .dll
like Info-zip, Zlib, C..., PKZip, etc.
However, I always meet run-time error!
And one more problem is that, I don't want future users installing a
zip utility before they can use my program, as the main function of my
program is to back-up files in their systems.

I've searched in Google, and discovered here.
I've read a article about the "zip folder" function in Windows XP.
(That reminds me there is such a function in Win XP =.=")
That means Windows XP has the ability to create zip files, right?
So, how to use VB6 to create a zip file (including those folders and
files I've mentioned above), and how to unzip as well?

Thanks!!!

This is a vb.net group, you probably want to post this in a VB newsgroup

microsoft.public.languages.vb
 
I've read an article about InfoZip in vbAccelerator, but when I run the
program, I met a run-time error.
 
Back
Top