[
  {
    "Id": "436570",
    "ThreadId": "210874",
    "Html": "<pre><span>hi cheeso, i try to zip a folder which it have subfolders,using your example code but it sends me an error:</span></pre>\r\n<pre><span>'AddFiles' is not a member of 'Ionic.Zip.ZipFile'</span></pre>\r\n<pre><span>your example code is from the documentation:</span></pre>\r\n<pre><span>Dim</span> ZipFileToCreate <span>As</span> <span>String</span> = <span>&quot;archive1.zip&quot;</span>\r\n<span>Dim</span> DirectoryToZip <span>As</span> <span>String</span> = <span>&quot;c:\\reports&quot;</span>\r\n<span>Using</span> zip <span>As</span> ZipFile = <span>New</span> ZipFile()\r\n    <span>Dim</span> filenames <span>As</span> <span>String</span>() = System.IO.Directory.GetFiles(DirectoryToZip)\r\n    zip.AddFiles(filenames, <span>&quot;files&quot;</span>)\r\n    zip.Save(ZipFileToCreate)\r\n<span>End</span> <span>Using</span></pre>\r\n<pre></pre>\r\n<pre><span><span id=\"result_box\"><span style=\"background-color:#ebeff9\" title=\"quizás es mas simple de lo que aparenta\">perhaps it is more simple than it appears.</span></span></span></pre>\r\n<pre><span><span></span></span></pre>\r\n<pre><span>do you have another example code which zip a folder?</span></pre>\r\n<pre><span>thanks.</span></pre>\r\n<pre><span>Manuel.</span></pre>\r\n<pre></pre>\r\n<pre></pre>",
    "PostedDate": "2010-04-28T08:13:17.003-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "436596",
    "ThreadId": "210874",
    "Html": "<p>I just took the code you showed, and compiled it.&nbsp; It works.</p>\r\n<p>It could be that you have an older version,&nbsp;released before the AddFiles() method was introduced. &nbsp;</p>\r\n<p>What version of the library are you using?</p>",
    "PostedDate": "2010-04-28T08:57:59.327-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "436606",
    "ThreadId": "210874",
    "Html": "<p>i'm not sure... but in vstudio it says: version of reference :&nbsp;1.7.2.3</p>\r\n<p>how can i change the version?</p>\r\n<p>thanks.</p>",
    "PostedDate": "2010-04-28T09:14:14.81-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "436611",
    "ThreadId": "210874",
    "Html": "<p><span title=\"problema solucionado...\">problem solved ...&nbsp;</span><span title=\"gracias por tu tiempo...\">thanks for your time ...</span></p>",
    "PostedDate": "2010-04-28T09:19:05.393-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]