BP Forums
Open Zip files into a listview box - Printable Version

+- BP Forums (https://bpforums.info)
+-- Forum: Archived Forums (https://bpforums.info/forumdisplay.php?fid=55)
+--- Forum: Archived Forums (https://bpforums.info/forumdisplay.php?fid=56)
+---- Forum: VB.NET (Visual Basic 2010/2008) (https://bpforums.info/forumdisplay.php?fid=8)
+----- Forum: Programming Help (https://bpforums.info/forumdisplay.php?fid=9)
+----- Thread: Open Zip files into a listview box (/showthread.php?tid=833)



Open Zip files into a listview box - Worf - 09-09-2014

Hi.

I'm working on my DMD To MD2 Converter program o add more features to it.

One of them is to open a zip file and list the contents into a listview box and allow the user to select any files to extract.

I've searched around but couldn't find what im looking for.

Thank you for you help.

Tony


Re: Open Zip files into a listview box - brandonio21 - 09-17-2014

In order to unzip files, you can use a premade open source library. A quick google search returned DotNetZip found here:
<!-- m --><a class="postlink" href="http://dotnetzip.codeplex.com/">http://dotnetzip.codeplex.com/</a><!-- m -->

As far as adding things into the listview, you would just for-loop through each extracted item and then add it to the list view. I think the more challenging part would be implementing the actual unzipping process. The aforementioned library should definitely help.


Re: Open Zip files into a listview box - Worf - 09-20-2014

Hi brandonio21

Thank you for your reply. I managed to find DotNetZip, just having a mess with it.