Click here to Skip to main content
15,886,806 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi ther,

i am, a third year eng. student doing IT i need to know how to compress folder,
& to work with the zip files as my project needs to add files n folder in zip files, :)
but ther's no artical here so if can any help me out as my project is in vb & i didn't found any1 who knows compressing
files & folders in vb... :(
Also i want to edit the existing zip files by adding new files....
i am using visual studio 2010
please if any1 knows please help me out!!!!
Posted
Updated 24-Jan-11 2:04am
v4

 
Share this answer
 
Comments
Aconite 26-Jan-11 5:09am    
Thank's very much!!!
Aconite 1-Feb-11 22:34pm    
Thanks it worked out and i compressed too but I need to decompress file too...
E.F. Nijboer 2-Feb-11 5:06am    
But what are you using? For most there is also code/links on how to decompress. for example ZipOutputStream - ZipInputStream have a look here:
http://www.eggheadcafe.com/tutorials/aspnet/9ce6c242-c14c-4969-9251-af95e4cf320f/zip--unzip-folders-and-f.aspx
E.F. Nijboer 2-Feb-11 5:07am    
But what are you using? For most there is also code/links on how to decompress. for example ZipOutputStream/ZipInputStream have a look here:
http://www.eggheadcafe.com/tutorials/aspnet/9ce6c242-c14c-4969-9251-af95e4cf320f/zip--unzip-folders-and-f.aspx
 
Share this answer
 
Comments
Aconite 26-Jan-11 5:09am    
Thank's very much!!!
You may want to check this[^] out. It's a compression library which supports not only zip, but other compression methods as well. Although the library is written in C#, you can use it in your VB.NET code. If you download the source codes you'll get some samples as well.

You can use the standard Windows compression as well, but I found it hard to compress multiple files into one zip archive so I recommend using the C# Zip library.

Good luck,

Eduard
 
Share this answer
 
v2
Comments
Aconite 26-Jan-11 5:08am    
THanks very much!!!!!

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