Solved

Zipping and Unzipping files & folders with VB

Posted on 2003-11-18
7
338 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
  • 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 63 total points
ID: 9772047
Try this link...

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

--------
D_M_D
0
 
LVL 69

Assisted Solution

by:Éric Moreau
Éric Moreau earned 62 total points
ID: 9775829
0
 
LVL 69

Expert Comment

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

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

707 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now