VB.net 2.0 create zip include all sub folders and files

cyberiadmin
cyberiadmin used Ask the Experts™
on
Hello,

Could someone please give me an example project in VB.net 2.0 that creates a zip that includes all sub folders and files. Also, would like it to have a status bar with the % done. I have found a few but they are not for 2.0 or they used paid addons, etc.

Thanks
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Senior .Net Consultant
Top Expert 2016
Commented:
a real .zip or just file compression?
if it is just compression, your can use the System.IO.Compression namespace.
if it is a real zip, you can use http://www.icsharpcode.net/OpenSource/SharpZipLib/Default.aspx
check http://www.emoreau.com/Entries/Articles/2007/02/Compression-in-the-Net-Framework-20.aspx

Author

Commented:
I would like it to create a zip with all the files including sub files and directory's.  Could someone please give me an example how to do this in asp.net 2.0 with a process bar?

Thank again
Would you like your example code in VB.NET or C#?

Author

Commented:
VB.net, thanks
This question has been classified as abandoned and is being closed as part of the Cleanup Program.  See my comment at the end of the question for more details.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial