Zip processing and compression in vb.net

Is it possible to programmatically zip / unzip files in vb.net? So not that it will extract files for the user, but take the files inside the zip and be able to use them in the application? Then is it possible to create a zip?

I couldn't find a place to compress anywhere.

Thanks for the help!

+2


source to share


2 answers


We have used SharpZibLib in the past with great success.

You can also look at the System.IO.Compression namespace, it provides functionality for compressing and decompressing streams, but unfortunately not functionality for extracting files from a Zip file :(



Update:
I was not aware of this System.IO.Packaging namespace , it looks like it can actually handle zip packaged files.

+2


source


For a great commercial solution, try http://xceed.com/

We used this and work fine with the zip file (and for merging and creating self-extracting zippers if needed)



Note: not affiliated with anything Xceed.

0


source







All Articles