Can't unzip

Apr 12, 2012 at 4:05 PM

I'm trying to unzip a file. I've included 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("", "C:\test\")
            Using zip As ZipFile = ZipFile.Read("C:\test\")
                Dim e As ZipEntry
                For Each e In zip
            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.