[
  {
    "Id": "698491",
    "ThreadId": "279534",
    "Html": "\r\n<p>I've noticed that things in the libary have changed from v1.9.1.5.&nbsp; Now I can't get my tool to extract files since it appears some functionality and/or classes have been removed.</p>\r\n<p>For instance,&nbsp; I'm working with a progress bar and when it gets to the following following function it dies on the using statement.</p>\r\n<p>&nbsp;</p>\r\n<p>private void _zipBGWorker_DoWork(object sender, DoWorkEventArgs e)<br>\r\n{</p>\r\n<p>&nbsp;ZipFile zipfile = (ZipFile)e.Argument;<br>\r\n&nbsp;string szZipFile = zipfile.Name;</p>\r\n<p>&nbsp;try<br>\r\n&nbsp;{<br>\r\n&nbsp;&nbsp;using (ZipFile zip = ZipFile.Read(szZipFile))<br>\r\n&nbsp;&nbsp;{<br>\r\n&nbsp;&nbsp;&nbsp;if (zip.Entries.Count &gt; 0)<br>\r\n&nbsp;&nbsp;&nbsp;{<br>\r\n&nbsp;&nbsp;&nbsp;&nbsp;foreach (ZipEntry ze in zip)<br>\r\n&nbsp;&nbsp;&nbsp;&nbsp;{<br>\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SetProgressBarMax(zip.Entries.Count);<br>\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;zip.ExtractProgress &#43;= new EventHandler&lt;ExtractProgressEventArgs&gt;(zip_ExtractProgress);<br>\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ze.Extract(ExtractPath, ExtractExistingFileAction.OverwriteSilently);<br>\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//zip.ExtractAll(ExtractPath, ExtractExistingFileAction.OverwriteSilently);<br>\r\n&nbsp;&nbsp;&nbsp;&nbsp;}<br>\r\n&nbsp;&nbsp;&nbsp;}<br>\r\n&nbsp;&nbsp;&nbsp;else<br>\r\n&nbsp;&nbsp;&nbsp;{<br>\r\n&nbsp;&nbsp;&nbsp;&nbsp;MessageBox.Show(&quot;Empty archive - Nothing to extract&quot;, &quot;Error Extracting Training Database&quot;,<br>\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MessageBoxButtons.OK, MessageBoxIcon.Exclamation, MessageBoxDefaultButton.Button1);<br>\r\n&nbsp;&nbsp;&nbsp;}<br>\r\n&nbsp;&nbsp;}<br>\r\n&nbsp;}<br>\r\n&nbsp;catch (ZipException ex)<br>\r\n&nbsp;{<br>\r\n&nbsp;&nbsp;MessageBox.Show(string.Format(&quot;There's been a problem extracting zip file.&nbsp; {0}&quot;, ex.Message),<br>\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;Error Extracting&quot;, MessageBoxButtons.OK, MessageBoxIcon.Exclamation, MessageBoxDefaultButton.Button1);<br>\r\n&nbsp;}<br>\r\n&nbsp;catch (FileNotFoundException ex)<br>\r\n&nbsp;{<br>\r\n&nbsp;&nbsp;MessageBox.Show(string.Format(&quot;Unable to locate zip file.&nbsp; {0}&quot;, ex.Message),<br>\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;Error Extracting&quot;, MessageBoxButtons.OK, MessageBoxIcon.Exclamation, MessageBoxDefaultButton.Button1);<br>\r\n&nbsp;}<br>\r\n&nbsp;catch (Exception ex)<br>\r\n&nbsp;{<br>\r\n&nbsp;&nbsp;MessageBox.Show(string.Format(&quot;There's been a problem extracting zip file.&nbsp; {0}&quot;, ex.Message),<br>\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;Error Extracting&quot;, MessageBoxButtons.OK, MessageBoxIcon.Exclamation, MessageBoxDefaultButton.Button1);<br>\r\n&nbsp;}<br>\r\n}</p>\r\n<p>Any help would be greatly appreciated.</p>\r\n<p>Jim</p>\r\n<p>&nbsp;</p>\r\n",
    "PostedDate": "2011-11-15T08:57:52.58-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "699945",
    "ThreadId": "279534",
    "Html": "<p>Jim,</p>\r\n<p>\"it dies\" is not enough information to provide an analysis or diagnosis.&nbsp; You're going to need to provide more information.</p>\r\n<p>If \"it dies\" means it throws an exception, then provide the exception, full stacktrace. Also describe the zipfile and any other details that may be pertinent.</p>\r\n<p>&nbsp;</p>",
    "PostedDate": "2011-11-17T17:56:23.92-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "701354",
    "ThreadId": "279534",
    "Html": "\r\n<div>\r\n<p><span style=\"font-size:11.0pt; font-family:\">Hi Cheeso, </span></p>\r\n<p><span style=\"font-size:11.0pt; font-family:\"></span></p>\r\n<p><span style=\"font-size:11.0pt; font-family:\">Thanks for getting back to me.</span></p>\r\n<p><span style=\"font-size:11.0pt; font-family:\"></span></p>\r\n<p><span style=\"font-size:11.0pt; font-family:\">Basically what I mean by “it dies” means that when I step through the code and the application will get into the worker_dowork function, hit the first line of code and the application will quit without any error\r\n or exception. I’m not sure how to get it to work at this point. I can send my code if need be.</span></p>\r\n<p><span style=\"font-size:11.0pt; font-family:\"></span></p>\r\n<p><span style=\"font-size:11.0pt; font-family:\">Jim</span></p>\r\n<p><span style=\"font-size:11.0pt; font-family:\"></span></p>\r\n<div>\r\n<div style=\"border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0in 0in 0in\">\r\n<p><b><span style=\"font-size:10.0pt; font-family:\">From:</span></b><span style=\"font-size:10.0pt; font-family:\"> Cheeso [email removed]\r\n<br>\r\n<b>Sent:</b> Thursday, November 17, 2011 8:56 PM<br>\r\n<b>To:</b> Macdiarmid, James D.<br>\r\n<b>Subject:</b> Re: Unable to extract files as of v1.9.1.8 [DotNetZip:279534]</span></p>\r\n</div>\r\n</div>\r\n<p></p>\r\n<p><span style=\"font-size:9.0pt; font-family:\">From: Cheeso</span></p>\r\n<div id=\"ThreadNotificationPostBody\" style=\"margin-bottom:24.0pt\">\r\n<p><span style=\"font-size:9.0pt; font-family:\">Jim,</span></p>\r\n<p><span style=\"font-size:9.0pt; font-family:\">&quot;it dies&quot; is not enough information to provide an analysis or diagnosis. You're going to need to provide more information.</span></p>\r\n<p><span style=\"font-size:9.0pt; font-family:\">If &quot;it dies&quot; means it throws an exception, then provide the exception, full stacktrace. Also describe the zipfile and any other details that may be pertinent.</span></p>\r\n<p><span style=\"font-size:9.0pt; font-family:\"></span></p>\r\n</div>\r\n</div>\r\n",
    "PostedDate": "2011-11-21T10:21:16.28-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]