[
  {
    "Id": "694328",
    "ThreadId": "278457",
    "Html": "<p>Hello,</p>\n<p>I have an archive with a folder structure:<br />\\folder1\\subfolder1\\test.txt<br />﻿\\folder2\\subfolder1\\new.txt<br />\\folder2\\subfolder2\\ord.xml</p>\n<p>Now I have to open the File new.txt.</p>\n<p>I tried&nbsp;to read&nbsp;with the follow code, but it not works (﻿﻿strZipFolderFile = \\folder2\\subfolder1\\new.txt):<br /><span style=\"color: blue;\">Dim</span> ZipEntryEngOut <span style=\"color: blue;\">As</span> Ionic.Zip.ZipEntry = zipFile.Item(strZipFolderFile)<br /><span style=\"color: blue;\">Dim</span> ZipEntryReader <span style=\"color: blue;\">As</span> <span style=\"color: blue;\">New</span> System.IO.StreamReader(ZipEntryEngOut.OpenReader(strEngPassword))</p>\n<p>How can I read one specific file without to read all ZipEntries to find the file new.txt?</p>\n<p>Thank you vor your help in advance.</p>\n<p>Maximilian</p>",
    "PostedDate": "2011-11-05T14:50:56.673-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "694794",
    "ThreadId": "278457",
    "Html": "<p>You said that your code does not work.&nbsp; But you did not say how the code fails.</p>\r\n<p>Also, you have not shown real code. You have shown only a few lines.&nbsp;</p>\r\n<p>I can try to help, but you need to (1) Show more code.&nbsp; and (2) Describe the exact failure. If it is an exception, then show the exact exception.</p>\r\n<p>This is what it would look like in C#, to read a single entry.</p>\r\n<div style=\"color: black; background-color: white;\">\r\n<pre><span style=\"color: blue;\">using</span> (<span style=\"color: blue;\">var</span> zip = ZipFile.Read(pathOfExistingZip))\r\n{\r\n    ZipEntry e = zip[<span style=\"color: #a31515;\">\"\\\\path.to\\\\file\\\\in\\\\archive.txt\"</span>];\r\n    Stream s = e.OpenReader();\r\n    <span style=\"color: green;\">// read stream here ...</span>\r\n}\r\n</pre>\r\n</div>\r\n<p>I don't know exactly how to say that in VB.NET, but you should be able to figure it out.</p>",
    "PostedDate": "2011-11-07T09:11:55.75-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "697738",
    "ThreadId": "278457",
    "Html": "<p>Hi Cheeso,</p>\r\n<p>thanks a lot for your answer, I had have a mistake in using your dll, sorry for that.</p>\r\n<p>Regards,<br />Maximilian</p>",
    "PostedDate": "2011-11-14T02:07:01.53-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]