[
  {
    "Id": "820184",
    "ThreadId": "351253",
    "Html": "\r\n<p>Hello All:</p>\r\n<p>I'm Zipping a single file into an archive (foo.txt) and adding the extension of '.zip' to it.&nbsp; Everything works just fine.&nbsp; I'm able to double click on the file under Windows XP and view the contents just fine.</p>\r\n<p>The problem arises when I try to extract the file by right clicking on the .Zip file and selecting Extract All.&nbsp; It asks for a password.&nbsp; My code is as follows:</p>\r\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim lZip As Ionic.Zip.ZipFile = Nothing</p>\r\n<p>&nbsp; &nbsp; &nbsp; &nbsp; Dim rstrFile as string = &quot;C:\\Junk\\Foo.TXT&quot;</p>\r\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'Zip a single file and add a '.zip' extension<br>\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lZip = New Ionic.Zip.ZipFile(rstrFile &amp; &quot;.zip&quot;)<br>\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lZip.CompressionLevel = Ionic.Zlib.CompressionLevel.BestCompression<br>\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lZip.FlattenFoldersOnExtract = True<br>\r\n<br>\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lZip.Dispose()</p>\r\n<p>Oh, and the code is in VB.NET 2005.</p>\r\n<p>Thanks!<br>\r\nMike B.<br>\r\nRiverview, FL</p>\r\n",
    "PostedDate": "2012-04-04T22:38:32.993-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "821691",
    "ThreadId": "351253",
    "Html": "<p>Ok.&nbsp; I've been able to diagnose this a bit further.&nbsp; I can decompress the file on a Windows7 (32 bit) machine just fine.&nbsp; It seems to be a comparability problem with Windows XP.</p>\r\n<p>Any help would be greatly appreciated.</p>\r\n<p>Thanks,<br />Mike B.</p>",
    "PostedDate": "2012-04-09T13:16:34.893-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "821693",
    "ThreadId": "351253",
    "Html": "<p>Oh.&nbsp; One last item:</p>\r\n<p>In my sample code, the line:</p>\r\n<p>lZip.Dispose()</p>\r\n<p>should actually read:</p>\r\n<p>lZip.Save()<br />lZip.Dispose()</p>",
    "PostedDate": "2012-04-09T13:21:42.91-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]