Can't unzip

Apr 12, 2012 at 4:05 PM

I'm trying to unzip a file. I've included ionic.zip and I'm using test code. The code downloads the file but does not unzip. 

Imports System
Imports System.IO
Imports System.Text
Imports Ionic.Zip


Public Class Form1

    Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
   downloadFile("http://c.speedtest.net/mini/mini.zip", "C:\test\logos.zip")
        Try
            Using zip As ZipFile = ZipFile.Read("C:\test\logos.zip")
                Dim e As ZipEntry
                For Each e In zip
                    e.Extract()
                Next
            End Using
        Catch ex1 As Exception
            Console.Error.WriteLine("exception: {0}", ex1.ToString)
        End Try

    End Sub

Apr 12, 2012 at 10:32 PM

Where are the files extracting? That important part is missing from your code.

Apr 13, 2012 at 1:09 PM

Ahh yes, working now. Thanks.