-1

Is there any code for vb.net so i can zip and unzip file without any 3rd party programs. e.g. (i know this is not right)

 Using zip As ZipFile = New ZipFile
    zip.AddDirectory(directory)
    zip.Save(targetZip)
End Using
Joel Coehoorn
  • 380,066
  • 110
  • 546
  • 781
Kuzon
  • 752
  • 5
  • 18
  • 49

1 Answers1

1

There's the ZipPackage class in .NET but it is such a PITA to use that you are probably better of using a third party library such as SharpZipLib.

Darin Dimitrov
  • 994,864
  • 265
  • 3,241
  • 2,902