Application is not responding using dotnetzip

Jan 30, 2013 at 7:22 AM

Hi,

I have a problem. I am developing an application using VB 2010 Ultimate Version and MS Access 2013. My Operating System in Win 7 Professional

My application is not responding. My Code snippet is like this

 

Imports Ionic.Zip

Imports Ionic.Zip.ZipInputStream

Imports Ionic.Zip.ZipOutputStream

Imports Ionic.ZlibImports Ionic.BZip2

 

 

Try                     

 

Using zip As New ZipFile()                           

zip.ZipErrorAction = ZipErrorAction.Throw                           

zip.UseZip64WhenSaving = Zip64Option.AsNecessary                            zip.AddDirectory(mZIPFOLDERNAME_SOURCE, mZIPFOLDERNAME_SOURCE)                           zip.Save(mZIPFOLDERNAME_DESTINATION & ".zip")
mZIPFOLDER = mZIPFOLDERNAME & ".zip" 

mDESTINATIONPATH_CHECK = mZIPFOLDER                           

zip.Dispose()
End Using                   

Catch ex As ZipException                       

MessageBox.Show(ex.Message)                   

End Try