Apr 13, 2012 at 12:08 PM

Currently my app unzips a zip file but throws and exception if it encounters an already existing file with the same name. Looking at the docs "ExtractExistingFileAction Enumeration"

I see that I can use OverwriteSilently to force an unzip over an existing file however how do I implement it?


            Using zip As ZipFile = ZipFile.Read(which)
                Dim ee As ZipEntry
                For Each ee In zip
            End Using

Apr 15, 2012 at 2:11 PM
ee.Extract("c:\test\2", ExtractExistingFileAction.OverwriteSilently)