[
  {
    "Id": "661608",
    "ThreadId": "269969",
    "Html": "\r\n<p>HELLO,EVERY BODY~</p>\r\n<p>I&nbsp;have to build a empty catagory,and insert file to this catagory;</p>\r\n<p>In win7,it show us a empty catagory,and in xp its a \\filename;</p>\r\n<p>I use this dll(1.9.1.5) and it build other catagory without that category;</p>\r\n<p>This dll can't do this? We must use vc&#43;&#43;?</p>\r\n<p>My english is not good~ thanks you.wish solution;</p>\r\n",
    "PostedDate": "2011-08-22T09:05:41.397-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "661610",
    "ThreadId": "269969",
    "Html": "<p>My code :</p>\r\n<p>&nbsp;string ExistingZipFile = AppDomain.CurrentDomain.BaseDirectory + \"temp.zip\";<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; using (ZipFile zip = ZipFile.Read(ExistingZipFile))<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; zip.AddFile(AppDomain.CurrentDomain.BaseDirectory + \"1.xml\", zip[1].FileName.Replace(\"0.txt\", \"\"));<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;zip.Save();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</p>",
    "PostedDate": "2011-08-22T09:10:15.353-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "661621",
    "ThreadId": "269969",
    "Html": "<p>&lt;div&gt;&lt;img src=\"<a href=\"http://www.kewayi.cn/FCKeditor/editor/filemanager/connectors/aspx/UploadFiles/image/K008/files.jpg\">http://www.kewayi.cn/FCKeditor/editor/filemanager/connectors/aspx/UploadFiles/image/K008/files.jpg</a>\" alt=\"\" /&gt;&lt;/div&gt;</p>",
    "PostedDate": "2011-08-22T09:27:20.757-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "661700",
    "ThreadId": "269969",
    "Html": "<p>I don't know what you mean by \"build a catagory\".</p>\r\n<p>DotNetZip does zipfiles.&nbsp; It may be that you want to build a zipfile and manage *directories* within the zip archive.&nbsp; If so, check the examples - there are many examples showing how to do this.</p>\r\n<p>I don't know what you are trying to do with the call to AddFile.</p>\r\n<p>how about simplifying it?</p>\r\n<div style=\"color: black; background-color: white;\">\r\n<pre>            <span style=\"color: blue;\">var</span> filename = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, <span style=\"color: #a31515;\">\"1.xml\"</span>); \r\n            zip.AddFile(filename, <span style=\"color: #a31515;\">\"/\"</span>);\r\n            zip.Save();\r\n        \r\n</pre>\r\n</div>",
    "PostedDate": "2011-08-22T11:57:48.873-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "661859",
    "ThreadId": "269969",
    "Html": "<p>Sorry~</p>\r\n<p>\"&nbsp;build a&nbsp;empty ﻿directory﻿.\"</p>",
    "PostedDate": "2011-08-22T18:40:28.073-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "661860",
    "ThreadId": "269969",
    "Html": "<p>I send that img ;can you see it?</p>",
    "PostedDate": "2011-08-22T18:41:40.257-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "662708",
    "ThreadId": "269969",
    "Html": "<blockquote style=\"padding-bottom: 0px; font-style: italic; margin: 0.25em 1em 0px; padding-left: 0.25em; padding-right: 0.25em; padding-top: 0px; border: #ccc 0.1em solid;\"><strong>Cheeso wrote:</strong><br />\r\n<p>I don't know what you mean by \"build a catagory\".</p>\r\n<p>DotNetZip does zipfiles.&nbsp; It may be that you want to build a zipfile and manage *directories* within the zip archive.&nbsp; If so, check the examples - there are many examples showing how to do this.</p>\r\n<p>I don't know what you are trying to do with the call to AddFile.</p>\r\n<p>how about simplifying it?</p>\r\n<div style=\"background-color: white; color: black;\">\r\n<pre>            <span style=\"color: blue;\">var</span> filename = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, <span style=\"color: #a31515;\">\"1.xml\"</span>); \r\n            zip.AddFile(filename, <span style=\"color: #a31515;\">\"/\"</span>);\r\n            zip.Save();\r\n        \r\n</pre>\r\n</div>\r\n</blockquote>\r\n<p><br />How can i do it?</p>",
    "PostedDate": "2011-08-24T08:20:43.833-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "662744",
    "ThreadId": "269969",
    "Html": "<p>Try: ZipFile.AddDirectoryByName()</p>\r\n<p>It's documented.</p>\r\n<p>&nbsp;</p>",
    "PostedDate": "2011-08-24T09:16:00.207-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "663852",
    "ThreadId": "269969",
    "Html": "<p>Oh~I had try it,but it's not success~</p>\r\n<p>I use winrar had success~</p>\r\n<p>Like this :win rar&nbsp; a -inul&nbsp;-ed&nbsp;ap/images temp 1.jpg</p>\r\n<p>Thanks vary much too~</p>",
    "PostedDate": "2011-08-26T08:14:18.613-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "663855",
    "ThreadId": "269969",
    "Html": "<blockquote style=\"padding-bottom: 0px; font-style: italic; margin: 0.25em 1em 0px; padding-left: 0.25em; padding-right: 0.25em; padding-top: 0px; border: #ccc 0.1em solid;\"><strong>Cheeso wrote:</strong><br />\r\n<p>Try: ZipFile.AddDirectoryByName()</p>\r\n<p>It's documented.</p>\r\n<p>&nbsp;</p>\r\n</blockquote>\r\n<p>&nbsp;</p>\r\n<p>Oh~I had try it,but it's not success~</p>\r\n<p>I use winrar had success~</p>\r\n<p>Like this :win rar&nbsp; a -inul&nbsp;-ed&nbsp;ap/images temp 1.jpg</p>\r\n<p>Thanks vary much too~</p>",
    "PostedDate": "2011-08-26T08:14:42.233-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]