?
Solved

Zipping and Unzipping files & folders with VB

Posted on 2003-11-18
7
Medium Priority
?
403 Views
Last Modified: 2010-04-17
I want to write a small application to backup data files for an application I have written. I need to be able to write code that will zip all the data files into a single zip which can later be unzipped (extracted) to restore the data files when necessary. I have read something about Inf-Zip, I haven't quite got around to understanding how to use the win32 DLL's.
0
Comment
Question by:Molefe
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
7 Comments
 
LVL 16

Expert Comment

by:PaulCaswell
ID: 9771817
Molefe,

I would suggest you invoke/spawn some already existing tool such as PKZip/WZZip if you are running under Windows. If you really need to go for Code and have access to 'C' then a tool called CCUnzip is available as both app and 'C' source from www.programmersheaven.com. I found this particularly useful recently.

Please clarify:

1) What platform.
2) What Language.
3) Do you want the zipped files in standard form (e.g. WinZip/PKZip) or can they be proprietary?
4) What kind of files are they? mpegs and jpegs are unlikely to compress much.

Good luck.

Paul
0
 
LVL 10

Accepted Solution

by:
D_M_D earned 252 total points
ID: 9772047
Try this link...

http://www.codeguru.com/vb/articles/1854.shtml

--------
D_M_D
0
 
LVL 70

Assisted Solution

by:Éric Moreau
Éric Moreau earned 248 total points
ID: 9775829
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 10316980
splits between D_M_D and emoreau
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Six Sigma Control Plans
Starting up a Project

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question