[
  {
    "Id": "271734",
    "ThreadId": "79374",
    "Html": "<p>I am writing an app and need to zip some files. I have downloaded DotNetZip and I understand what code is needed to zip folders using DotNetZip...I just don't understand how to get vb.net to USE ionic.zip.dll. I tried dragging the .dll file into the project. I tried using &quot;imports ionic.zip.dll&quot; and a few other things and my code still won't work. How do I properly import Ionic.zip.dll into my project so that I can reference it for zipping files?</p>\r\n<p>&nbsp;</p>\r\n<p>For example, when I try something like:</p>\r\n<p>&nbsp;</p>\r\n<p>\r\n<div style=\"color:Black;background-color:White\">\r\n<pre> <span style=\"color:Blue\">Using</span> zip <span style=\"color:Blue\">As</span> ZipFile = <span style=\"color:Blue\">New</span> ZipFile\r\n            zip.AddFile(filename)\r\n            zip.Save(<span style=\"color:#A31515\">&quot;MyZipFile.zip&quot;</span>)\r\n        <span style=\"color:Blue\">End</span> <span style=\"color:Blue\">Using</span>\r\n</pre>\r\n</div>\r\n</p>\r\n<p>it tells me that 'type zipfile is not defined'.</p>\r\n<p>&nbsp;</p>",
    "PostedDate": "2009-12-30T08:32:20.153-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "271788",
    "ThreadId": "79374",
    "Html": "<p>You have to add it in as a reference in your project.</p>\r\n<p>&nbsp;</p>",
    "PostedDate": "2009-12-30T11:41:20.03-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]