Click here to Skip to main content
15,899,026 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello

I'm need a class that simulates the exact functionalities of winzip.

I've found a number of classes to do so; however, when given a directory, they traverse this source directory and zip the files of every subfolder of this directory, rather than zipping it all.

I want a class that enables me to zip and unzip folders(Not their files) similar to the way winzip or winrar operates.

Thank you
Posted

1 solution

 
Share this answer
 
Comments
deadwood88 13-Oct-10 4:31am    
Yes it's an excellent class, thank you.
However it can't zip an entire folder by it self. This class requires to select files that are to be zipped rather than folders.
Johnny J. 13-Oct-10 4:33am    
So? Write the code for that... It's about 10 lines. Isn't it the job of the programmer to write code? ;-)
deadwood88 14-Oct-10 3:18am    
I dont think you understood what I meant here. I dont want to zip the content of an entire forlder. I want to be able to zip the folder itself.
The Method zip.AddFile() can only take files.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900