[
  {
    "Id": "233172",
    "ThreadId": "68545",
    "Html": "<p>Hello,</p>\r\n<p>this is a question from a novice so please be patient. I downloaded the DotNetZip, but how do I get it to work within my VB.NET code ?</p>\r\n<p>I used the code example below, but it is not recognizing the DotNetZip functions. Somehow I need to add a dll, but looking thru the downloaded files, I don't see an dll's.</p>\r\n<p>Thanks for any help !</p>\r\n<p>cheers!</p>\r\n<p>Using zip As ZipFile = New ZipFile()<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; zip.AddFile(&quot;c:\\photos\\personal\\7440-N49th.png&quot;)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; zip.AddFile(&quot;c:\\Desktop\\2005_Annual_Report.pdf&quot;)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; zip.AddFile(&quot;ReadMe.txt&quot;)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; zip.Save(&quot;MyZipFile.zip&quot;)<br>&nbsp;&nbsp;&nbsp;&nbsp; End Using</p>",
    "PostedDate": "2009-09-10T09:15:45.847-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "233204",
    "ThreadId": "68545",
    "Html": "<p>What did you download?&nbsp; there are 5 or 6 downloads.&nbsp; One is source code, some of them are binary releases, one is documentation.&nbsp; which thing did you download?&nbsp; If you are building apps you probably want the Devkit download.&nbsp; This is all explained on the downloads page.</p>\r\n<p>After you get the DLL, you need to <strong>add a reference </strong>to the DLL in your project.&nbsp; Do you know how to do that?</p>",
    "PostedDate": "2009-09-10T10:12:02.053-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "233236",
    "ThreadId": "68545",
    "Html": "<p>Hi Cheeso, thanks for your reply !</p>\r\n<p>I downloaded &quot;DotNetZip-src-v1[1].8.4.22.zip&quot;. That is NOT it ? Let me look for the Devkit.&nbsp;</p>\r\n<p>I do know how to add a reference.</p>\r\n<p>thanks!</p>",
    "PostedDate": "2009-09-10T11:11:33.037-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "233241",
    "ThreadId": "68545",
    "Html": "<p>You don't want the src download.&nbsp; That is source code, useful only if you plan to modify and re-build the DotNetZip library yourself.&nbsp;&nbsp; Most people don't do this. Especially novices.</p>\r\n<p>If you just want to <em>use </em>DotNetZip, get the devKit.</p>\r\n<p>&nbsp;</p>",
    "PostedDate": "2009-09-10T11:27:47-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "233260",
    "ThreadId": "68545",
    "Html": "<p>Hi Cheeso, thanks again !</p>\r\n<p>I downloaded the right file, referenced all the DLLs but I still get an error in my code for the line:</p>\r\n<p>\r\n<p><span style=\"font-size:x-small;color:#0000ff\"><span style=\"font-size:x-small;color:#0000ff\">&lt;font size=&quot;2&quot; color=&quot;#0000ff&quot;&gt;&lt;font size=&quot;2&quot; color=&quot;#0000ff&quot;&gt;\r\n<p>Using</p>\r\n&lt;/font&gt;&lt;/font&gt;</span>&lt;font size=&quot;2&quot; color=&quot;#0000ff&quot;&gt;\r\n<p>&nbsp;</p>\r\n&lt;/font&gt;</span>\r\n<p><span style=\"font-size:x-small\">zip </span><span style=\"font-size:x-small;color:#0000ff\"><span style=\"font-size:x-small;color:#0000ff\">As</span></span><span style=\"font-size:x-small\"> ZipFile = </span><span style=\"font-size:x-small;color:#0000ff\"><span style=\"font-size:x-small;color:#0000ff\">New</span></span><span style=\"font-size:x-small\"> ZipFile</span></p>\r\n</p>\r\n</p>\r\n<p><span style=\"font-size:x-small;color:#0000ff\"><span style=\"font-size:x-small;color:#0000ff\">\r\n<p>Error&nbsp;1&nbsp;Type 'ZipFile' is not defined.&nbsp;</p>\r\n<p>Any idea ?</p>\r\n</span></span></p>",
    "PostedDate": "2009-09-10T11:55:06.08-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "233302",
    "ThreadId": "68545",
    "Html": "<p>Yes, I think you need a statement like this at the top of your file:</p>\r\n<div style=\"color:Black;background-color:White\">\r\n<pre><span style=\"color:Blue\">Imports</span> Ionic.Zip\r\n\r\n</pre>\r\n</div>",
    "PostedDate": "2009-09-10T13:44:38.37-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "233306",
    "ThreadId": "68545",
    "Html": "<p>Hmm, that got rid of the &quot;Type is not defined&quot; error, but came back with this error:</p>\r\n<p>Error&nbsp;2&nbsp;'ZipFile' is ambiguous in the namespace 'Ionic.Zip'.&nbsp;</p>\r\n<p>&nbsp;</p>",
    "PostedDate": "2009-09-10T13:52:55.463-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "233315",
    "ThreadId": "68545",
    "Html": "<p>I don't know why that error message would come up.</p>\r\n<p>I did a quick search and got no joy.</p>\r\n<p>I can suggest that you remove the reference to Ionic.Zip.dll (The one you just added).</p>\r\n<p>then rebuild (F5).&nbsp; This will fail.</p>\r\n<p>then re-add the reference.&nbsp; Then rebuild (F5 again).&nbsp; This may work.</p>",
    "PostedDate": "2009-09-10T14:21:01.393-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "233329",
    "ThreadId": "68545",
    "Html": "<p>Cheeso,</p>\r\n<p>my bad. I added two different Ionic DLLs. I removed one, now I get no errors ! ;)</p>\r\n<p>Thank you very much for all your help !</p>",
    "PostedDate": "2009-09-10T14:55:37.89-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]