﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>博客园-江大鱼的BLOG</title><link>http://www.cnblogs.com/jzywh/</link><description>不求大作,只为记录点点滴滴(转载本人原创文章转载请注明出处)</description><language>zh-cn</language><lastBuildDate>Fri, 25 Jul 2008 21:19:41 GMT</lastBuildDate><pubDate>Fri, 25 Jul 2008 21:19:41 GMT</pubDate><ttl>60</ttl><item><title>解决FileSystemWatcher事件多次触发的方法</title><link>http://www.cnblogs.com/jzywh/archive/2008/07/23/filesystemwatcher.html</link><dc:creator>江大鱼</dc:creator><author>江大鱼</author><pubDate>Wed, 23 Jul 2008 13:55:00 GMT</pubDate><guid>http://www.cnblogs.com/jzywh/archive/2008/07/23/filesystemwatcher.html</guid><wfw:comment>http://www.cnblogs.com/jzywh/comments/1249995.html</wfw:comment><comments>http://www.cnblogs.com/jzywh/archive/2008/07/23/filesystemwatcher.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/jzywh/comments/commentRss/1249995.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/jzywh/services/trackbacks/1249995.html</trackback:ping><description><![CDATA[摘要: 博客园已有几位同学发表了关于FileSystemWatcher事件多次触发的解决方法的文章，很好地解决了事件多次激发的问题。

主要方法有：

1.延迟激发法。

http://www.cnblogs.com/dragon/archive/2008/07/04/filesystemwatcher.html

原理是延迟调用事件的代理，将多次事件合并为一次,从而很好的解决了此问题，唯一的缺憾是时间激发不及时，不适用于实时性较高的系统。

2.临时禁用法.

3.检查最后更新时间法.&nbsp;&nbsp;<a href='http://www.cnblogs.com/jzywh/archive/2008/07/23/filesystemwatcher.html'>阅读全文</a><img src ="http://www.cnblogs.com/jzywh/aggbug/1249995.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/41307/" target="_blank">[新闻]金山:360的免费杀毒只能是短期行为</a>]]></description></item><item><title>Windows Live Writer for Windows Server 2003 and Windows Server 2008</title><link>http://www.cnblogs.com/jzywh/archive/2008/07/23/LiveWriterServer2003Server2008.html</link><dc:creator>江大鱼</dc:creator><author>江大鱼</author><pubDate>Tue, 22 Jul 2008 23:28:00 GMT</pubDate><guid>http://www.cnblogs.com/jzywh/archive/2008/07/23/LiveWriterServer2003Server2008.html</guid><wfw:comment>http://www.cnblogs.com/jzywh/comments/1249161.html</wfw:comment><comments>http://www.cnblogs.com/jzywh/archive/2008/07/23/LiveWriterServer2003Server2008.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.cnblogs.com/jzywh/comments/commentRss/1249161.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/jzywh/services/trackbacks/1249161.html</trackback:ping><description><![CDATA[<P>可在windows server 2003 or windows server 2008 下直接下载安装</P>
<P>下载页面:</P>
<P><A title=http://windowslivewriter.spaces.live.com/blog/cns!D85741BB5E0BE8AA!1508.entry href="http://windowslivewriter.spaces.live.com/blog/cns!D85741BB5E0BE8AA!1508.entry">http://windowslivewriter.spaces.live.com/blog/cns!D85741BB5E0BE8AA!1508.entry</A>
<SCRIPT type=text/javascript><!--
google_ad_client = "pub-4654382453554667";
/* 468x60, 创建于 08-4-20 */
google_ad_slot = "9836485125";
google_ad_width = 468;
google_ad_height = 60;
//-->
</SCRIPT>

<SCRIPT src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type=text/javascript>
</SCRIPT>
 </P>
<P>&nbsp;</P>
<P>直接下载地址:</P>
<P><A title=http://download.microsoft.com/download/8/0/9/809604cd-bd08-42c8-b590-49c332059e64/writer.msi href="http://download.microsoft.com/download/8/0/9/809604cd-bd08-42c8-b590-49c332059e64/writer.msi">http://download.microsoft.com/download/8/0/9/809604cd-bd08-42c8-b590-49c332059e64/writer.msi</A>
<SCRIPT type=text/javascript><!--
google_ad_client = "pub-4654382453554667";
/* 468x60, 创建于 08-4-20 */
google_ad_slot = "9836485125";
google_ad_width = 468;
google_ad_height = 60;
//-->
</SCRIPT>

<SCRIPT src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type=text/javascript>
</SCRIPT>
 </P><img src ="http://www.cnblogs.com/jzywh/aggbug/1249161.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/41307/" target="_blank">[新闻]金山:360的免费杀毒只能是短期行为</a>]]></description></item><item><title>Base64 encode/decode large file</title><link>http://www.cnblogs.com/jzywh/archive/2008/04/20/base64_encode_large_file.html</link><dc:creator>江大鱼</dc:creator><author>江大鱼</author><pubDate>Sun, 20 Apr 2008 13:48:00 GMT</pubDate><guid>http://www.cnblogs.com/jzywh/archive/2008/04/20/base64_encode_large_file.html</guid><wfw:comment>http://www.cnblogs.com/jzywh/comments/1162925.html</wfw:comment><comments>http://www.cnblogs.com/jzywh/archive/2008/04/20/base64_encode_large_file.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/jzywh/comments/commentRss/1162925.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/jzywh/services/trackbacks/1162925.html</trackback:ping><description><![CDATA[摘要: The class System.Convert provide two basic methods "ToBase64String()" and "Convert.FromBase64String()" to encode a byte array to a base64 string and decode a base64 string to a byte array.

It is very good to use them to encode and decode base64. But in some case, it is a disaster.

For example, if you want to encode a 4 gb file to base64, the code above must throw an OutOfMemory exception., because you must read the file into a byte array. So we need to look for another way to e&nbsp;&nbsp;<a href='http://www.cnblogs.com/jzywh/archive/2008/04/20/base64_encode_large_file.html'>阅读全文</a><img src ="http://www.cnblogs.com/jzywh/aggbug/1162925.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/41306/" target="_blank">[新闻]江民科技回应杀毒软件免费说 没病不能乱吃药</a>]]></description></item><item><title>UrlRewite之后postback地址被还原的问题的解决方法</title><link>http://www.cnblogs.com/jzywh/archive/2007/12/20/urlrewriteaction.html</link><dc:creator>江大鱼</dc:creator><author>江大鱼</author><pubDate>Thu, 20 Dec 2007 05:36:00 GMT</pubDate><guid>http://www.cnblogs.com/jzywh/archive/2007/12/20/urlrewriteaction.html</guid><wfw:comment>http://www.cnblogs.com/jzywh/comments/1007127.html</wfw:comment><comments>http://www.cnblogs.com/jzywh/archive/2007/12/20/urlrewriteaction.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://www.cnblogs.com/jzywh/comments/commentRss/1007127.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/jzywh/services/trackbacks/1007127.html</trackback:ping><description><![CDATA[<TABLE width="100%" border=0>
<TBODY>
<TR>
<TD vAlign=top width=600>
<P>很多人用ActionlessForm来解决这个问题，可是把每个form都改成ActionlessForm的工作量确实太大。<BR><BR><BR>如果你的系统中已定义了叶面基类，那么问题可就简单的多了:<BR><BR>首先在重写时把原始url记录在Context.Items["OriginalUrl"]中,<BR><BR>然后在页面基类中重写下面方法:<BR><BR>&nbsp;&nbsp;protected override void OnLoadComplete(EventArgs e)<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;string originalUrl = Context.Items["OriginalUrl"] as string;</P>
<P>&nbsp;&nbsp;&nbsp;if (!string.IsNullOrEmpty(originalUrl)) //So this page have been urlrewriten, after the page onloaded, rewrite the url of this page to original url <BR>&nbsp;&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;string query&nbsp;= string.Empty;<BR>&nbsp;&nbsp;&nbsp;&nbsp;int pos&nbsp;&nbsp;&nbsp;= originalUrl.IndexOf('?');<BR>&nbsp;&nbsp;&nbsp;&nbsp;if(pos&gt;=0)// check if has query parameter<BR>&nbsp;&nbsp;&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;query&nbsp;&nbsp;= originalUrl.Substring(pos+1);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;originalUrl&nbsp;= originalUrl.Substring(0, pos);&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;}<BR>&nbsp;&nbsp;&nbsp;&nbsp;Context.RewritePath(originalUrl, string.Empty, query);<BR>&nbsp;&nbsp;&nbsp;}<BR>&nbsp;&nbsp;&nbsp;base.OnLoadComplete(e);<BR>&nbsp;&nbsp;}<BR><BR><BR>LoadComplete之后再把地址重写回来就够了。</P></TD>
<TD>
<SCRIPT type=text/javascript><!--
google_ad_client = "pub-4654382453554667";
/* 160x600, 创建于 08-4-20 */
google_ad_slot = "4209244214";
google_ad_width = 160;
google_ad_height = 600;
//-->
</SCRIPT>

<SCRIPT src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type=text/javascript>
</SCRIPT>
</TD></TR></TBODY></TABLE><img src ="http://www.cnblogs.com/jzywh/aggbug/1007127.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/41305/" target="_blank">[新闻]WCG2008中国区总决赛打响</a>]]></description></item><item><title>[New Book]Flex第一步 -- 国内第一本关于Flex的书籍 </title><link>http://www.cnblogs.com/jzywh/archive/2007/11/22/flex.html</link><dc:creator>江大鱼</dc:creator><author>江大鱼</author><pubDate>Thu, 22 Nov 2007 04:52:00 GMT</pubDate><guid>http://www.cnblogs.com/jzywh/archive/2007/11/22/flex.html</guid><wfw:comment>http://www.cnblogs.com/jzywh/comments/968442.html</wfw:comment><comments>http://www.cnblogs.com/jzywh/archive/2007/11/22/flex.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/jzywh/comments/commentRss/968442.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/jzywh/services/trackbacks/968442.html</trackback:ping><description><![CDATA[<H3>这是国内第一本Flex开发的书 （新书已上市）</H3>
<P>作者：<A href="http://www.fluidea.cn/blog" target=_blank><FONT color=#557799>邱彦林</FONT></A>&nbsp;（第1-15章） <A href="http://www.k-zone.cn/zblog" target=_blank><FONT color=#557799>王磊</FONT></A>（第16、17章）</P>
<P align=left>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 《flex第一步》 全书共分为17章。内容包括：Flex简介、Flex的安装和开发环境的建立、MXML 语法简介、使用容器控制界面布局、使用组件处理数据和交互、使用行为对象和动画效果、ActionScript 3.0编程知识、Flex的事件机制、数据绑定、组件的使用、Flex 2.0新特性实例开发、Flex与外部的数据通信、Flex程序设计等。<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 书中包括四个大型应用开发实例：Flex数据库留言本、Flex产品展示系统、Flex投票系统、Flex天气预报系统。除此之外，书中还贯穿了大量Demo级小例子，让技术不再抽象，帮你快速掌握Flex开发的关键。<BR><BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 作者深入浅出，从理论到实践，从基础知识到实践项目把Flex的技术阐述得相当到位，堪称国内Flex图书的开山之作。<BR><BR><BR>更多相关内容，请浏览 <A href="http://www.flex9.cn/">http://www.flex9.cn/</A></P><img src ="http://www.cnblogs.com/jzywh/aggbug/968442.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/41304/" target="_blank">[新闻]新型的编程语言:eC</a>]]></description></item><item><title>ASP.NET 2.0 二级域名Forms验证模式下共享登陆状态</title><link>http://www.cnblogs.com/jzywh/archive/2007/09/23/902905.html</link><dc:creator>江大鱼</dc:creator><author>江大鱼</author><pubDate>Sat, 22 Sep 2007 16:04:00 GMT</pubDate><guid>http://www.cnblogs.com/jzywh/archive/2007/09/23/902905.html</guid><wfw:comment>http://www.cnblogs.com/jzywh/comments/902905.html</wfw:comment><comments>http://www.cnblogs.com/jzywh/archive/2007/09/23/902905.html#Feedback</comments><slash:comments>6</slash:comments><wfw:commentRss>http://www.cnblogs.com/jzywh/comments/commentRss/902905.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/jzywh/services/trackbacks/902905.html</trackback:ping><description><![CDATA[在asp.net 1.1中, 二级域名Forms验证模式下共享登陆状态的方法请参考下面文章:<BR><BR>http://www.cnblogs.com/caomao/archive/2005/07/05/186606.html<BR><BR><BR>而在asp.net 2.0中实现方法更为简单，只需修改web.config文件即可，修改方法如下:<BR><BR>
<DIV style="BORDER-RIGHT: rgb(204,204,204) 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: rgb(204,204,204) 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: rgb(204,204,204) 1px solid; WIDTH: 98%; PADDING-TOP: 4px; BORDER-BOTTOM: rgb(204,204,204) 1px solid; BACKGROUND-COLOR: rgb(238,238,238)"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><SPAN style="COLOR: rgb(0,0,255)">&lt;</SPAN><SPAN style="COLOR: rgb(128,0,0)">authentication&nbsp;</SPAN><SPAN style="COLOR: rgb(255,0,0)">mode</SPAN><SPAN style="COLOR: rgb(0,0,255)">="Forms"</SPAN><SPAN style="COLOR: rgb(0,0,255)">&gt;</SPAN><SPAN style="COLOR: rgb(0,0,0)"><BR>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: rgb(0,0,255)">&lt;</SPAN><SPAN style="COLOR: rgb(128,0,0)">forms&nbsp;</SPAN><SPAN style="COLOR: rgb(255,0,0)">name</SPAN><SPAN style="COLOR: rgb(0,0,255)">=".ASPNETFORM"</SPAN><SPAN style="COLOR: rgb(255,0,0)">&nbsp;&nbsp;domain</SPAN><SPAN style="COLOR: rgb(0,0,255)">="yourdomain.com"</SPAN><SPAN style="COLOR: rgb(255,0,0)">&nbsp;loginUrl</SPAN><SPAN style="COLOR: rgb(0,0,255)">="/login.aspx"</SPAN><SPAN style="COLOR: rgb(255,0,0)">&nbsp;defaultUrl</SPAN><SPAN style="COLOR: rgb(0,0,255)">="/default.aspx"</SPAN><SPAN style="COLOR: rgb(255,0,0)">&nbsp;protection</SPAN><SPAN style="COLOR: rgb(0,0,255)">="All"</SPAN><SPAN style="COLOR: rgb(255,0,0)">&nbsp;timeout</SPAN><SPAN style="COLOR: rgb(0,0,255)">="30"</SPAN><SPAN style="COLOR: rgb(255,0,0)">&nbsp;path</SPAN><SPAN style="COLOR: rgb(0,0,255)">="/"</SPAN><SPAN style="COLOR: rgb(255,0,0)">&nbsp;requireSSL</SPAN><SPAN style="COLOR: rgb(0,0,255)">="false"</SPAN><SPAN style="COLOR: rgb(255,0,0)">&nbsp;slidingExpiration</SPAN><SPAN style="COLOR: rgb(0,0,255)">="true"</SPAN><SPAN style="COLOR: rgb(255,0,0)">&nbsp;enableCrossAppRedirects</SPAN><SPAN style="COLOR: rgb(0,0,255)">="false"</SPAN><SPAN style="COLOR: rgb(255,0,0)">&nbsp;cookieless</SPAN><SPAN style="COLOR: rgb(0,0,255)">="UseDeviceProfile"</SPAN><SPAN style="COLOR: rgb(255,0,0)">&nbsp;</SPAN><SPAN style="COLOR: rgb(0,0,255)">/&gt;</SPAN><SPAN style="COLOR: rgb(0,0,0)"><BR></SPAN><SPAN style="COLOR: rgb(0,0,255)">&lt;/</SPAN><SPAN style="COLOR: rgb(128,0,0)">authentication</SPAN><SPAN style="COLOR: rgb(0,0,255)">&gt;</SPAN></DIV><BR><BR>注意forms节点的domain属性, 如果你的主域名和子域名是www.abc.com, 123.abc.com, .....,那么此domain属性你应该填abc.com即 domain="abc.com".<BR><BR>很简单吧， 祝你实现成功！<BR><BR><BR><img src ="http://www.cnblogs.com/jzywh/aggbug/902905.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/41303/" target="_blank">[新闻]免费的BitDefender能复制卡巴斯基的成功吗?</a>]]></description></item><item><title>Expert ASP.NET 2.0 Advanced Application Design</title><link>http://www.cnblogs.com/jzywh/archive/2006/07/06/ASPNET2AdvancedApplicationDesign.html</link><dc:creator>江大鱼</dc:creator><author>江大鱼</author><pubDate>Thu, 06 Jul 2006 09:29:00 GMT</pubDate><guid>http://www.cnblogs.com/jzywh/archive/2006/07/06/ASPNET2AdvancedApplicationDesign.html</guid><wfw:comment>http://www.cnblogs.com/jzywh/comments/444480.html</wfw:comment><comments>http://www.cnblogs.com/jzywh/archive/2006/07/06/ASPNET2AdvancedApplicationDesign.html#Feedback</comments><slash:comments>4</slash:comments><wfw:commentRss>http://www.cnblogs.com/jzywh/comments/commentRss/444480.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/jzywh/services/trackbacks/444480.html</trackback:ping><description><![CDATA[Microsoft has been working on version 2.0 of the.NET Framework and Visual Studio 2005<BR>for a number of years now. Between the bits that were handed out at the PDC in 2003 and the<BR>release candidate handed out at the PDC in 2005, there’s been an unusually long period of<BR>time for curious developers to play around with the new functionality, picking out their<BR>favorites, and pining for the day they can be used in a production application. Over that same<BR>period of time the features have changed quite a bit. It was also an unusually long period of<BR>time for Microsoft’s customers to provide feedback about what worked and what didn’t, and<BR>what should be changed or preserved before putting the bits into production. What has<BR>resulted is an impressive set of functionality that should be a boon to any development effort.<BR>Because of the long period of time that some version of “Whidbey” (as it was code-named<BR>during the development process) has been available, many folks have been able to play with<BR>the features of this new version, and even more have seen demonstrations of these features at<BR>conferences, in magazines, and online. At its time of release, the development environment<BR>provided by the .NET Framework version 2.0 and Visual Studio .NET 2005 might be the most<BR>broadly familiar “new” product ever released.<BR>Many features of the .NET Framework version 2.0 will be very important as we move forward<BR>into the new platform provided by Windows Vista and its tangential technologies. These<BR>features go much deeper than the wizards and “configurators” that have been added to Visual<BR>Studio .NET; they even go deeper than many of the flashy new controls that have been shown<BR>to awestruck crowds at conferences and developer events over the last couple of years.<BR>And so in designing this book we decided that we did not want to do the standard “new<BR>feature march.” This book is not a general introduction to version 2.0 of the ASP.NET Framework.<BR>Instead, this book focuses on designing distributed applications using the .NET<BR>Framework as your platform. With this as our focus, we treat ASP.NET not as an environment<BR>for the generation of HTML, but rather as an application hosting environment, one capable<BR>of servicing requests not just for Web Forms, but also for Web Services, for distributed objects<BR>via Remoting, even for your own custom application hosting needs. By treating ASP.NET as an<BR>application server instead of as a web application development environment, our field of view<BR>is dramatically increased. Web Forms become just a single piece of a larger, more complex<BR>puzzle, the puzzle of distributed application design. This book does not cover the presentation<BR>tier of an application. While there is some discussion of maintaining state and communication<BR>between a web browser and a web server, a detailed discussion of the presentation tier is conspicuously<BR>absent. Instead, we focus on the middle and data tiers of a layered application, and<BR>the communication that occurs between these tiers.<BR>In writing this book, we assume you have used a 1.x version of ASP.NET. We assume you<BR>are versed in ADO.NET, at least enough to use data readers, create DataSets, and use a data<BR>adapter to update your database data. This book is designed to expand on that base of knowledge,<BR>by simultaneously introducing you to the full range of servers and technologies available<BR>for you to leverage in distributed application design while showing you the enhancements in<BR>xix<BR>version 2.0 of the .NET Framework in each of the different layers and tiers of these applications.<BR>This combination is designed to give you a broader understanding of your choices of<BR>technologies during application design, while at the same time show you how version 2.0<BR>improves upon the existing technologies in these tiers. By taking this approach, this book<BR>might not be your first choice as an introduction to the flashiest of features in ASP.NET 2.0, but<BR>the depth of detail and range of technologies covered will make this book continue to be relevant<BR>long after you’ve forgotten a time when you didn’t know the subtle nuances of the Smart<BR>Tag of the GridView control.<BR>There are many “moving parts” in a distributed application, and many different technologies<BR>can come to bear on the different pieces of a solution. We wanted to write a book that<BR>addressed this complexity, a book on application design—not a blow-by-blow iteration of<BR>Framework features, but a discussion of how you can put the different packages and servers<BR>available together across different tiers of a distributed application and how they can meet<BR>your real-world requirements. The timing was such that it made no sense to write it on<BR>version 1.x of the Framework, as it was soon-to-no-longer-be the latest-greatest. Instead of<BR>getting swept up in the rush of feature-enumerating titles that have hit the scene with the<BR>fanfare of a parade, we just went ahead and wrote a book on application design. We simply<BR>incorporated the features of 2.0 while doing so.<BR>You may have already built a full-blown n-tiered application using ASP.NET. If this is the<BR>case, then chances are you can glance through the table of contents and pick out a few technologies<BR>that you’ve used in the past. This book will round that knowledge out, and enable you<BR>to make more informed decisions about how to design distributed applications, using the features<BR>currently available in .NET 2.0, and anticipating the infrastructure that will be available<BR>when Windows Vista arrives. Throughout the entire treatment of the topics that follow, we<BR>keep an eye on the coming release of Windows Vista and Windows Communication Foundation.<BR>Our guidance and advice on how to build applications today will prepare you for many<BR>of the technologies and strategies that will be ubiquitous in these new environments. This<BR>way you can expand your application design toolset today, while at the same time get ready<BR>to create the applications of tomorrow.<BR><BR><BR>
<H3><A href="http://www.drivehq.com/file/ShowFile.aspx?isGallery=true&amp;share=true&amp;shareID=43383&amp;parentID=124480&amp;fileID=896824" target=_blank>Free download here</A> </H3>
<img src ="http://www.cnblogs.com/jzywh/aggbug/444480.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/41301/" target="_blank">[新闻]DNS漏洞攻击代码已经公布 危险迫在眉睫</a>]]></description></item><item><title>Programming .NET Components, Second Edition</title><link>http://www.cnblogs.com/jzywh/archive/2006/07/06/ProgrammingDotNETComponents2.html</link><dc:creator>江大鱼</dc:creator><author>江大鱼</author><pubDate>Thu, 06 Jul 2006 09:20:00 GMT</pubDate><guid>http://www.cnblogs.com/jzywh/archive/2006/07/06/ProgrammingDotNETComponents2.html</guid><wfw:comment>http://www.cnblogs.com/jzywh/comments/444456.html</wfw:comment><comments>http://www.cnblogs.com/jzywh/archive/2006/07/06/ProgrammingDotNETComponents2.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnblogs.com/jzywh/comments/commentRss/444456.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/jzywh/services/trackbacks/444456.html</trackback:ping><description><![CDATA[摘要: Brilliantly compiled by author Juval Lowy, Programming .NET Components, Second Edition is the consummate introduction to the Microsoft .NET Framework--the technology of choice for building components &nbsp;&nbsp;<a href='http://www.cnblogs.com/jzywh/archive/2006/07/06/ProgrammingDotNETComponents2.html'>阅读全文</a><img src ="http://www.cnblogs.com/jzywh/aggbug/444456.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/41301/" target="_blank">[新闻]DNS漏洞攻击代码已经公布 危险迫在眉睫</a>]]></description></item><item><title>.NET 2.0 的压缩功能</title><link>http://www.cnblogs.com/jzywh/archive/2006/05/23/dotnet2compression.html</link><dc:creator>江大鱼</dc:creator><author>江大鱼</author><pubDate>Tue, 23 May 2006 08:23:00 GMT</pubDate><guid>http://www.cnblogs.com/jzywh/archive/2006/05/23/dotnet2compression.html</guid><wfw:comment>http://www.cnblogs.com/jzywh/comments/407244.html</wfw:comment><comments>http://www.cnblogs.com/jzywh/archive/2006/05/23/dotnet2compression.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/jzywh/comments/commentRss/407244.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/jzywh/services/trackbacks/407244.html</trackback:ping><description><![CDATA[在.net 1.1中我们要实现压缩这一功能，一般都是用open source的SharpZipLib 或者调用J#类库。<br>现在在.net 2.0中增加了压缩功能，名字空间为 using System.IO.Compression;<br><br>以下是使用示例：<br><br><strong>压缩字符串<br></strong><br>
<div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; font-size: 13px; width: 98%; background-color: rgb(238, 238, 238);"><img src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align="top"><span style="color: rgb(0, 0, 255);">public</span><span style="color: rgb(0, 0, 0);">&nbsp;</span><span style="color: rgb(0, 0, 255);">static</span><span style="color: rgb(0, 0, 0);">&nbsp;</span><span style="color: rgb(0, 0, 255);">string</span><span style="color: rgb(0, 0, 0);">&nbsp;ZipString(</span><span style="color: rgb(0, 0, 255);">string</span><span style="color: rgb(0, 0, 0);">&nbsp;unCompressedString)<br><img id="Codehighlighter1_66_526_Open_Image" onclick="this.style.display='none'; Codehighlighter1_66_526_Open_Text.style.display='none'; Codehighlighter1_66_526_Closed_Image.style.display='inline'; Codehighlighter1_66_526_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top"><img id="Codehighlighter1_66_526_Closed_Image" style="display: none;" onclick="this.style.display='none'; Codehighlighter1_66_526_Closed_Text.style.display='none'; Codehighlighter1_66_526_Open_Image.style.display='inline'; Codehighlighter1_66_526_Open_Text.style.display='inline';" src="http://www.cnblogs.com/images/OutliningIndicators/ContractedBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="Codehighlighter1_66_526_Closed_Text" style="border: 1px solid rgb(128, 128, 128); display: none; background-color: rgb(255, 255, 255);"><img src="http://www.cnblogs.com/images/dot.gif"></span><span id="Codehighlighter1_66_526_Open_Text"><span style="color: rgb(0, 0, 0);">{<br><img src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br><img src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: rgb(0, 0, 255);">byte</span><span style="color: rgb(0, 0, 0);">[]&nbsp;bytData&nbsp;</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">&nbsp;System.Text.Encoding.UTF8.GetBytes(unCompressedString);<br><img src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MemoryStream&nbsp;ms&nbsp;</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">&nbsp;</span><span style="color: rgb(0, 0, 255);">new</span><span style="color: rgb(0, 0, 0);">&nbsp;MemoryStream();<br><img src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Stream&nbsp;s&nbsp;</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">&nbsp;</span><span style="color: rgb(0, 0, 255);">new</span><span style="color: rgb(0, 0, 0);">&nbsp;GZipStream(ms,&nbsp;CompressionMode.Compress);<br><img src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;s.Write(bytData,&nbsp;</span><span style="color: rgb(0, 0, 0);">0</span><span style="color: rgb(0, 0, 0);">,&nbsp;bytData.Length);<br><img src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;s.Close();<br><img src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: rgb(0, 0, 255);">byte</span><span style="color: rgb(0, 0, 0);">[]&nbsp;compressedData&nbsp;</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">&nbsp;(</span><span style="color: rgb(0, 0, 255);">byte</span><span style="color: rgb(0, 0, 0);">[])ms.ToArray();&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br><img src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: rgb(0, 0, 255);">return</span><span style="color: rgb(0, 0, 0);">&nbsp;System.Convert.ToBase64String(compressedData,&nbsp;</span><span style="color: rgb(0, 0, 0);">0</span><span style="color: rgb(0, 0, 0);">,&nbsp;compressedData.Length);<br><img src="http://www.cnblogs.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span></div><br><br><strong>解压缩字符串</strong><br>&nbsp;<br><br>
<div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; font-size: 13px; width: 98%; background-color: rgb(238, 238, 238);"><img src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align="top"><span style="color: rgb(0, 0, 255);">public</span><span style="color: rgb(0, 0, 0);">&nbsp;</span><span style="color: rgb(0, 0, 255);">static</span><span style="color: rgb(0, 0, 0);">&nbsp;</span><span style="color: rgb(0, 0, 255);">string</span><span style="color: rgb(0, 0, 0);">&nbsp;UnzipString(</span><span style="color: rgb(0, 0, 255);">string</span><span style="color: rgb(0, 0, 0);">&nbsp;unCompressedString)<br><img id="Codehighlighter1_68_938_Open_Image" onclick="this.style.display='none'; Codehighlighter1_68_938_Open_Text.style.display='none'; Codehighlighter1_68_938_Closed_Image.style.display='inline'; Codehighlighter1_68_938_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top"><img id="Codehighlighter1_68_938_Closed_Image" style="display: none;" onclick="this.style.display='none'; Codehighlighter1_68_938_Closed_Text.style.display='none'; Codehighlighter1_68_938_Open_Image.style.display='inline'; Codehighlighter1_68_938_Open_Text.style.display='inline';" src="http://www.cnblogs.com/images/OutliningIndicators/ContractedBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="Codehighlighter1_68_938_Closed_Text" style="border: 1px solid rgb(128, 128, 128); display: none; background-color: rgb(255, 255, 255);"><img src="http://www.cnblogs.com/images/dot.gif"></span><span id="Codehighlighter1_68_938_Open_Text"><span style="color: rgb(0, 0, 0);">{<br><img src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.Text.StringBuilder&nbsp;uncompressedString&nbsp;</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">&nbsp;</span><span style="color: rgb(0, 0, 255);">new</span><span style="color: rgb(0, 0, 0);">&nbsp;System.Text.StringBuilder();<br><img src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: rgb(0, 0, 255);">byte</span><span style="color: rgb(0, 0, 0);">[]&nbsp;writeData&nbsp;</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">&nbsp;</span><span style="color: rgb(0, 0, 255);">new</span><span style="color: rgb(0, 0, 0);">&nbsp;</span><span style="color: rgb(0, 0, 255);">byte</span><span style="color: rgb(0, 0, 0);">[</span><span style="color: rgb(0, 0, 0);">4096</span><span style="color: rgb(0, 0, 0);">];<br><img src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align="top"><br><img src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: rgb(0, 0, 255);">byte</span><span style="color: rgb(0, 0, 0);">[]&nbsp;bytData&nbsp;</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">&nbsp;System.Convert.FromBase64String(unCompressedString);<br><img src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: rgb(0, 0, 255);">int</span><span style="color: rgb(0, 0, 0);">&nbsp;totalLength&nbsp;</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">&nbsp;</span><span style="color: rgb(0, 0, 0);">0</span><span style="color: rgb(0, 0, 0);">;<br><img src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: rgb(0, 0, 255);">int</span><span style="color: rgb(0, 0, 0);">&nbsp;size&nbsp;</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">&nbsp;</span><span style="color: rgb(0, 0, 0);">0</span><span style="color: rgb(0, 0, 0);">;<br><img src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align="top"><br><img src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Stream&nbsp;s&nbsp;</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">&nbsp;</span><span style="color: rgb(0, 0, 255);">new</span><span style="color: rgb(0, 0, 0);">&nbsp;GZipStream(</span><span style="color: rgb(0, 0, 255);">new</span><span style="color: rgb(0, 0, 0);">&nbsp;MemoryStream(bytData),&nbsp;CompressionMode.Decompress);<br><img src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: rgb(0, 0, 255);">while</span><span style="color: rgb(0, 0, 0);">&nbsp;(</span><span style="color: rgb(0, 0, 255);">true</span><span style="color: rgb(0, 0, 0);">)<br><img id="Codehighlighter1_483_855_Open_Image" onclick="this.style.display='none'; Codehighlighter1_483_855_Open_Text.style.display='none'; Codehighlighter1_483_855_Closed_Image.style.display='inline'; Codehighlighter1_483_855_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top"><img id="Codehighlighter1_483_855_Closed_Image" style="display: none;" onclick="this.style.display='none'; Codehighlighter1_483_855_Closed_Text.style.display='none'; Codehighlighter1_483_855_Open_Image.style.display='inline'; Codehighlighter1_483_855_Open_Text.style.display='inline';" src="http://www.cnblogs.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="Codehighlighter1_483_855_Closed_Text" style="border: 1px solid rgb(128, 128, 128); display: none; background-color: rgb(255, 255, 255);"><img src="http://www.cnblogs.com/images/dot.gif"></span><span id="Codehighlighter1_483_855_Open_Text"><span style="color: rgb(0, 0, 0);">{<br><img src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;size&nbsp;</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">&nbsp;s.Read(writeData,&nbsp;</span><span style="color: rgb(0, 0, 0);">0</span><span style="color: rgb(0, 0, 0);">,&nbsp;writeData.Length);<br><img src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: rgb(0, 0, 255);">if</span><span style="color: rgb(0, 0, 0);">&nbsp;(size&nbsp;</span><span style="color: rgb(0, 0, 0);">&gt;</span><span style="color: rgb(0, 0, 0);">&nbsp;</span><span style="color: rgb(0, 0, 0);">0</span><span style="color: rgb(0, 0, 0);">)<br><img id="Codehighlighter1_594_757_Open_Image" onclick="this.style.display='none'; Codehighlighter1_594_757_Open_Text.style.display='none'; Codehighlighter1_594_757_Closed_Image.style.display='inline'; Codehighlighter1_594_757_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top"><img id="Codehighlighter1_594_757_Closed_Image" style="display: none;" onclick="this.style.display='none'; Codehighlighter1_594_757_Closed_Text.style.display='none'; Codehighlighter1_594_757_Open_Image.style.display='inline'; Codehighlighter1_594_757_Open_Text.style.display='inline';" src="http://www.cnblogs.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="Codehighlighter1_594_757_Closed_Text" style="border: 1px solid rgb(128, 128, 128); display: none; background-color: rgb(255, 255, 255);"><img src="http://www.cnblogs.com/images/dot.gif"></span><span id="Codehighlighter1_594_757_Open_Text"><span style="color: rgb(0, 0, 0);">{<br><img src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;totalLength&nbsp;</span><span style="color: rgb(0, 0, 0);">+=</span><span style="color: rgb(0, 0, 0);">&nbsp;size;<br><img src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;uncompressedString.Append(System.Text.Encoding.UTF8.GetString(writeData,&nbsp;</span><span style="color: rgb(0, 0, 0);">0</span><span style="color: rgb(0, 0, 0);">,&nbsp;size));<br><img src="http://www.cnblogs.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color: rgb(0, 0, 0);"><br><img src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: rgb(0, 0, 255);">else</span><span style="color: rgb(0, 0, 0);"><br><img id="Codehighlighter1_796_841_Open_Image" onclick="this.style.display='none'; Codehighlighter1_796_841_Open_Text.style.display='none'; Codehighlighter1_796_841_Closed_Image.style.display='inline'; Codehighlighter1_796_841_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top"><img id="Codehighlighter1_796_841_Closed_Image" style="display: none;" onclick="this.style.display='none'; Codehighlighter1_796_841_Closed_Text.style.display='none'; Codehighlighter1_796_841_Open_Image.style.display='inline'; Codehighlighter1_796_841_Open_Text.style.display='inline';" src="http://www.cnblogs.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="Codehighlighter1_796_841_Closed_Text" style="border: 1px solid rgb(128, 128, 128); display: none; background-color: rgb(255, 255, 255);"><img src="http://www.cnblogs.com/images/dot.gif"></span><span id="Codehighlighter1_796_841_Open_Text"><span style="color: rgb(0, 0, 0);">{<br><img src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: rgb(0, 0, 255);">break</span><span style="color: rgb(0, 0, 0);">;<br><img src="http://www.cnblogs.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color: rgb(0, 0, 0);"><br><img src="http://www.cnblogs.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color: rgb(0, 0, 0);"><br><img src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;s.Close();<br><img src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: rgb(0, 0, 255);">return</span><span style="color: rgb(0, 0, 0);">&nbsp;uncompressedString.ToString();<br><img src="http://www.cnblogs.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span></div><br><strong>压缩文件</strong><br><br>
<div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; font-size: 13px; width: 98%; background-color: rgb(238, 238, 238);"><img src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align="top"><span style="color: rgb(0, 0, 0);">&nbsp;</span><span style="color: rgb(0, 0, 255);">public</span><span style="color: rgb(0, 0, 0);">&nbsp;</span><span style="color: rgb(0, 0, 255);">static</span><span style="color: rgb(0, 0, 0);">&nbsp;</span><span style="color: rgb(0, 0, 255);">bool</span><span style="color: rgb(0, 0, 0);">&nbsp;AddZip(</span><span style="color: rgb(0, 0, 255);">string</span><span style="color: rgb(0, 0, 0);">&nbsp;srcFilename,&nbsp;</span><span style="color: rgb(0, 0, 255);">string</span><span style="color: rgb(0, 0, 0);">&nbsp;zipFileName)<br><img id="Codehighlighter1_75_1276_Open_Image" onclick="this.style.display='none'; Codehighlighter1_75_1276_Open_Text.style.display='none'; Codehighlighter1_75_1276_Closed_Image.style.display='inline'; Codehighlighter1_75_1276_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top"><img id="Codehighlighter1_75_1276_Closed_Image" style="display: none;" onclick="this.style.display='none'; Codehighlighter1_75_1276_Closed_Text.style.display='none'; Codehighlighter1_75_1276_Open_Image.style.display='inline'; Codehighlighter1_75_1276_Open_Text.style.display='inline';" src="http://www.cnblogs.com/images/OutliningIndicators/ContractedBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="Codehighlighter1_75_1276_Closed_Text" style="border: 1px solid rgb(128, 128, 128); display: none; background-color: rgb(255, 255, 255);"><img src="http://www.cnblogs.com/images/dot.gif"></span><span id="Codehighlighter1_75_1276_Open_Text"><span style="color: rgb(0, 0, 0);">{<br><img src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: rgb(0, 0, 255);">if</span><span style="color: rgb(0, 0, 0);">&nbsp;(</span><span style="color: rgb(0, 0, 0);">!</span><span style="color: rgb(0, 0, 0);">File.Exists(srcFilename))<br><img src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: rgb(0, 0, 255);">return</span><span style="color: rgb(0, 0, 0);">&nbsp;</span><span style="color: rgb(0, 0, 255);">false</span><span style="color: rgb(0, 0, 0);">;<br><img src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: rgb(0, 0, 255);">bool</span><span style="color: rgb(0, 0, 0);">&nbsp;result;<br><img src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FileStream&nbsp;fs&nbsp;</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">&nbsp;</span><span style="color: rgb(0, 0, 255);">null</span><span style="color: rgb(0, 0, 0);">,&nbsp;output&nbsp;</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">&nbsp;</span><span style="color: rgb(0, 0, 255);">null</span><span style="color: rgb(0, 0, 0);">;<br><img src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;GZipStream&nbsp;zipStream&nbsp;</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">&nbsp;</span><span style="color: rgb(0, 0, 255);">null</span><span style="color: rgb(0, 0, 0);">;<br><img src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: rgb(0, 0, 255);">try</span><span style="color: rgb(0, 0, 0);"><br><img id="Codehighlighter1_293_948_Open_Image" onclick="this.style.display='none'; Codehighlighter1_293_948_Open_Text.style.display='none'; Codehighlighter1_293_948_Closed_Image.style.display='inline'; Codehighlighter1_293_948_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top"><img id="Codehighlighter1_293_948_Closed_Image" style="display: none;" onclick="this.style.display='none'; Codehighlighter1_293_948_Closed_Text.style.display='none'; Codehighlighter1_293_948_Open_Image.style.display='inline'; Codehighlighter1_293_948_Open_Text.style.display='inline';" src="http://www.cnblogs.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="Codehighlighter1_293_948_Closed_Text" style="border: 1px solid rgb(128, 128, 128); display: none; background-color: rgb(255, 255, 255);"><img src="http://www.cnblogs.com/images/dot.gif"></span><span id="Codehighlighter1_293_948_Open_Text"><span style="color: rgb(0, 0, 0);">{<br><img src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fs&nbsp;</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">&nbsp;</span><span style="color: rgb(0, 0, 255);">new</span><span style="color: rgb(0, 0, 0);">&nbsp;FileStream(srcFilename,&nbsp;FileMode.Open,&nbsp;FileAccess.Read);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br><img src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: rgb(0, 0, 255);">byte</span><span style="color: rgb(0, 0, 0);">[]&nbsp;buffer&nbsp;</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">&nbsp;</span><span style="color: rgb(0, 0, 255);">new</span><span style="color: rgb(0, 0, 0);">&nbsp;</span><span style="color: rgb(0, 0, 255);">byte</span><span style="color: rgb(0, 0, 0);">[fs.Length];<br><img src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fs.Read(buffer,&nbsp;</span><span style="color: rgb(0, 0, 0);">0</span><span style="color: rgb(0, 0, 0);">,&nbsp;buffer.Length);<br><img src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fs.Close();<br><img src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: rgb(0, 0, 255);">if</span><span style="color: rgb(0, 0, 0);">&nbsp;(</span><span style="color: rgb(0, 0, 0);">!</span><span style="color: rgb(0, 0, 0);">File.Exists(zipFileName))<br><img id="Codehighlighter1_588_841_Open_Image" onclick="this.style.display='none'; Codehighlighter1_588_841_Open_Text.style.display='none'; Codehighlighter1_588_841_Closed_Image.style.display='inline'; Codehighlighter1_588_841_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top"><img id="Codehighlighter1_588_841_Closed_Image" style="display: none;" onclick="this.style.display='none'; Codehighlighter1_588_841_Closed_Text.style.display='none'; Codehighlighter1_588_841_Open_Image.style.display='inline'; Codehighlighter1_588_841_Open_Text.style.display='inline';" src="http://www.cnblogs.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="Codehighlighter1_588_841_Closed_Text" style="border: 1px solid rgb(128, 128, 128); display: none; background-color: rgb(255, 255, 255);"><img src="http://www.cnblogs.com/images/dot.gif"></span><span id="Codehighlighter1_588_841_Open_Text"><span style="color: rgb(0, 0, 0);">{<br><img src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;output&nbsp;</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">&nbsp;File.Create(zipFileName);<br><img src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;zipStream&nbsp;</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">&nbsp;</span><span style="color: rgb(0, 0, 255);">new</span><span style="color: rgb(0, 0, 0);">&nbsp;GZipStream(output,&nbsp;CompressionMode.Compress);<br><img src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;zipStream.Write(buffer,&nbsp;</span><span style="color: rgb(0, 0, 0);">0</span><span style="color: rgb(0, 0, 0);">,&nbsp;buffer.Length);<br><img src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;result&nbsp;</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">&nbsp;</span><span style="color: rgb(0, 0, 255);">true</span><span style="color: rgb(0, 0, 0);">;<br><img src="http://www.cnblogs.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color: rgb(0, 0, 0);"><br><img src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: rgb(0, 0, 255);">else</span><span style="color: rgb(0, 0, 0);"><br><img id="Codehighlighter1_880_934_Open_Image" onclick="this.style.display='none'; Codehighlighter1_880_934_Open_Text.style.display='none'; Codehighlighter1_880_934_Closed_Image.style.display='inline'; Codehighlighter1_880_934_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top"><img id="Codehighlighter1_880_934_Closed_Image" style="display: none;" onclick="this.style.display='none'; Codehighlighter1_880_934_Closed_Text.style.display='none'; Codehighlighter1_880_934_Open_Image.style.display='inline'; Codehighlighter1_880_934_Open_Text.style.display='inline';" src="http://www.cnblogs.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="Codehighlighter1_880_934_Closed_Text" style="border: 1px solid rgb(128, 128, 128); display: none; background-color: rgb(255, 255, 255);"><img src="http://www.cnblogs.com/images/dot.gif"></span><span id="Codehighlighter1_880_934_Open_Text"><span style="color: rgb(0, 0, 0);">{<br><img src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;result&nbsp;</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">&nbsp;</span><span style="color: rgb(0, 0, 255);">false</span><span style="color: rgb(0, 0, 0);">;<br><img src="http://www.cnblogs.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color: rgb(0, 0, 0);"><br><img src="http://www.cnblogs.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color: rgb(0, 0, 0);"><br><img src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: rgb(0, 0, 255);">catch</span><span style="color: rgb(0, 0, 0);">(Exception)<br><img id="Codehighlighter1_991_1038_Open_Image" onclick="this.style.display='none'; Codehighlighter1_991_1038_Open_Text.style.display='none'; Codehighlighter1_991_1038_Closed_Image.style.display='inline'; Codehighlighter1_991_1038_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top"><img id="Codehighlighter1_991_1038_Closed_Image" style="display: none;" onclick="this.style.display='none'; Codehighlighter1_991_1038_Closed_Text.style.display='none'; Codehighlighter1_991_1038_Open_Image.style.display='inline'; Codehighlighter1_991_1038_Open_Text.style.display='inline';" src="http://www.cnblogs.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="Codehighlighter1_991_1038_Closed_Text" style="border: 1px solid rgb(128, 128, 128); display: none; background-color: rgb(255, 255, 255);"><img src="http://www.cnblogs.com/images/dot.gif"></span><span id="Codehighlighter1_991_1038_Open_Text"><span style="color: rgb(0, 0, 0);">{<br><img src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;result&nbsp;</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">&nbsp;</span><span style="color: rgb(0, 0, 255);">false</span><span style="color: rgb(0, 0, 0);">;<br><img src="http://www.cnblogs.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color: rgb(0, 0, 0);"><br><img src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: rgb(0, 0, 255);">finally</span><span style="color: rgb(0, 0, 0);"><br><img id="Codehighlighter1_1072_1239_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1072_1239_Open_Text.style.display='none'; Codehighlighter1_1072_1239_Closed_Image.style.display='inline'; Codehighlighter1_1072_1239_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top"><img id="Codehighlighter1_1072_1239_Closed_Image" style="display: none;" onclick="this.style.display='none'; Codehighlighter1_1072_1239_Closed_Text.style.display='none'; Codehighlighter1_1072_1239_Open_Image.style.display='inline'; Codehighlighter1_1072_1239_Open_Text.style.display='inline';" src="http://www.cnblogs.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="Codehighlighter1_1072_1239_Closed_Text" style="border: 1px solid rgb(128, 128, 128); display: none; background-color: rgb(255, 255, 255);"><img src="http://www.cnblogs.com/images/dot.gif"></span><span id="Codehighlighter1_1072_1239_Open_Text"><span style="color: rgb(0, 0, 0);">{<br><img src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: rgb(0, 0, 255);">if</span><span style="color: rgb(0, 0, 0);">&nbsp;(zipStream&nbsp;</span><span style="color: rgb(0, 0, 0);">!=</span><span style="color: rgb(0, 0, 0);">&nbsp;</span><span style="color: rgb(0, 0, 255);">null</span><span style="color: rgb(0, 0, 0);">)<br><img id="Codehighlighter1_1129_1225_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1129_1225_Open_Text.style.display='none'; Codehighlighter1_1129_1225_Closed_Image.style.display='inline'; Codehighlighter1_1129_1225_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top"><img id="Codehighlighter1_1129_1225_Closed_Image" style="display: none;" onclick="this.style.display='none'; Codehighlighter1_1129_1225_Closed_Text.style.display='none'; Codehighlighter1_1129_1225_Open_Image.style.display='inline'; Codehighlighter1_1129_1225_Open_Text.style.display='inline';" src="http://www.cnblogs.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span id="Codehighlighter1_1129_1225_Closed_Text" style="border: 1px solid rgb(128, 128, 128); display: none; background-color: rgb(255, 255, 255);"><img src="http://www.cnblogs.com/images/dot.gif"></span><span id="Codehighlighter1_1129_1225_Open_Text"><span style="color: rgb(0, 0, 0);">{<br><img src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;zipStream.Flush();<br><img src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;zipStream.Close();<br><img src="http://www.cnblogs.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color: rgb(0, 0, 0);"><br><img src="http://www.cnblogs.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color: rgb(0, 0, 0);"><br><img src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: rgb(0, 0, 255);">return</span><span style="color: rgb(0, 0, 0);">&nbsp;result;<br><img src="http://www.cnblogs.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span></div><img src ="http://www.cnblogs.com/jzywh/aggbug/407244.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/41300/" target="_blank">[新闻]十几万元天价笔记本电脑</a>]]></description></item><item><title>Pro C# 2005 and the .NET 2.0 Platform, Third Edition for free download</title><link>http://www.cnblogs.com/jzywh/archive/2006/03/28/ProCSharpAndDotNet2Platform.html</link><dc:creator>江大鱼</dc:creator><author>江大鱼</author><pubDate>Tue, 28 Mar 2006 03:05:00 GMT</pubDate><guid>http://www.cnblogs.com/jzywh/archive/2006/03/28/ProCSharpAndDotNet2Platform.html</guid><wfw:comment>http://www.cnblogs.com/jzywh/comments/360716.html</wfw:comment><comments>http://www.cnblogs.com/jzywh/archive/2006/03/28/ProCSharpAndDotNet2Platform.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnblogs.com/jzywh/comments/commentRss/360716.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/jzywh/services/trackbacks/360716.html</trackback:ping><description><![CDATA[<P><IMG height=168 alt=bcm.gif src="http://www.cnblogs.com/images/cnblogs_com/jzywh/bcm.gif" width=125 border=0> <BR><BR><BR><BR>Download Address:<BR><BR><A href="http://www.drivehq.com/file/ShowFolder.aspx?G=1&amp;refID=27315&amp;shareID=43383">http://www.drivehq.com/file/ShowFolder.aspx?G=1&amp;shareID=43383</A><BR><BR>In the Folder named "DotNet"<BR><BR>Please Open it!<BR><BR><BR><BR>C# 2005 has changed the .NET 2.0 landscape. To name just a few improvements, C# now supports generics, partial types and nullable types when your are coding. And the Framework boasts improved speed, data access, security, and scalability.</P>
<P>This book has been written to help you assimilate all this new information and realize its potential to make your coding life easier. It will keep you ahead of the curve. To make it easy for you to access this information, the book has been loosely grouped into five sections:</P>
<UL>
<LI>1. <B>Introducing C# 2005 and the .NET 2.0 Platform</B> explains the mechanics of .NET programming and the philosophy that lies behind it 
<LI>2. <B>The C# Programming Language</B> outlines everything you need to know to start using C# 2005 quickly and efficiently. Object lifetimes, exception handling, generics梚t抯 all here 
<LI>3. <B>Programming with .NET Assemblies</B> deals with one of the most important aspects of .NET programming: reusing code. This book shows you how to capture your code in reuseable external assemblies that you can call upon throughout your applications 
<LI>4. <B>Programming with the .NET Libraries</B> guides you through them. Of course you抮e not expected to write every function yourself. The .NET Framework provides a vast array of .NET Libraries containing functionality that allows you to do everything from opening a file-stream to rendering graphical data to the screen 
<LI>5. <B>Web Applications and XML Web Services</B> concludes the book by taking you away from console-based C# applications and investigating the myriad possibilities that become available when you blend C# 2005 with ASP.NET 2.0 to launch your applications onto the Internet<BR></LI></UL>
<H3>Author Information</H3>
<DIV class=rightshift>
<P align=justify></P>
<H4>Andrew Troelsen</H4>
<P>Andrew Troelsen is a partner, trainer, and consultant at Intertech-Inc., and is a leading authority on both .NET and COM. His book <A href="http://www.apress.com/book/bookDisplay.html?bID=390" target=_blank><I>Pro C# 2005 and the .NET 2.0 Platform</I></A> won the prestigious 2003 Referenceware Excellence Award and is now in its third edition. Also of note are his earlier five-star treatment of traditional COM in the bestselling <I>Developer's Workshop to COM and ATL</I> mirrored in his book, <A href="http://www.apress.com/book/bookDisplay.html?bID=81" target=_blank><I>COM and .NET Interoperability</I></A>, and his top-notch investigation of VB .NET in <A href="http://www.apress.com/book/bookDisplay.html?bID=50" target=_blank><I>Visual Basic .NET and the .NET Platform: An Advanced Guide</I></A>. Troelsen has a degree in mathematical linguistics and South Asian studies from the University of Minnesota and is a frequent speaker at numerous .NET-related conferences. He currently lives in Minneapolis, Minnesota, with his wife, Amanda, and spends his free time investigating .NET and waiting for the Wild to win the Stanley Cup.</P>
<P></P></DIV><img src ="http://www.cnblogs.com/jzywh/aggbug/360716.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/41299/" target="_blank">[新闻]英特尔:四核移动处理器八月推出</a>]]></description></item><item><title>ASP.NET中实现二级或多级域名(修改UrlRewrite)需要注意的问题</title><link>http://www.cnblogs.com/jzywh/archive/2006/02/20/seconddomainurlrewriter.html</link><dc:creator>江大鱼</dc:creator><author>江大鱼</author><pubDate>Mon, 20 Feb 2006 05:29:00 GMT</pubDate><guid>http://www.cnblogs.com/jzywh/archive/2006/02/20/seconddomainurlrewriter.html</guid><wfw:comment>http://www.cnblogs.com/jzywh/comments/334004.html</wfw:comment><comments>http://www.cnblogs.com/jzywh/archive/2006/02/20/seconddomainurlrewriter.html#Feedback</comments><slash:comments>34</slash:comments><wfw:commentRss>http://www.cnblogs.com/jzywh/comments/commentRss/334004.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/jzywh/services/trackbacks/334004.html</trackback:ping><description><![CDATA[摘要: 本文背景： http://jzywh.cnblogs.com/archive/2005/09/29/246650.html<br><br>网上很多朋友看到我这篇文章，按照我的方法做了，但是还是没有得到想要的效果，其实有些问题需要注意一下，我上篇文章也只是提出了解决这一问题的办法的最核心的内容，有些朋友可能在实际运用中可能会碰到一些问题其实可以根据自己的经验作出相应处理应该可以解决，我在这里帮大家列出几点以帮助大家快速解决问题。 &nbsp;&nbsp;<a href='http://www.cnblogs.com/jzywh/archive/2006/02/20/seconddomainurlrewriter.html'>阅读全文</a><img src ="http://www.cnblogs.com/jzywh/aggbug/334004.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/41297/" target="_blank">[新闻]杨致远：孤独的守护人</a>]]></description></item><item><title>The Ultimate Internet Storage Service Review</title><link>http://www.cnblogs.com/jzywh/archive/2006/01/16/318130.html</link><dc:creator>江大鱼</dc:creator><author>江大鱼</author><pubDate>Mon, 16 Jan 2006 04:32:00 GMT</pubDate><guid>http://www.cnblogs.com/jzywh/archive/2006/01/16/318130.html</guid><wfw:comment>http://www.cnblogs.com/jzywh/comments/318130.html</wfw:comment><comments>http://www.cnblogs.com/jzywh/archive/2006/01/16/318130.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnblogs.com/jzywh/comments/commentRss/318130.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/jzywh/services/trackbacks/318130.html</trackback:ping><description><![CDATA[<DIV>
<H2>The Ultimate Internet Storage Service Review </H2>
<H3>Introduction</H3>
<H4>Internet Storage can be used to: </H4>
<UL>
<LI>Store files on the internet for accessing from anywhere, anytime; 
<LI>Sharing files among friends; 
<LI>Remote or off-site file backups. </LI></UL>
<P>Lots of companies provide internet storage services. Most&nbsp;of them&nbsp;offer this service&nbsp;for a fee; a few of them provide either a&nbsp;restricted free service or a limited free trial.&nbsp;This report is created to provide an objective and the most up-to-date feature comparisons among all Internet storage websites.&nbsp;It tries to&nbsp;help users&nbsp;find a best Internet storage service&nbsp;that fits his/her needs. </P>
<H4>How we did the review:</H4>
<P>We have done a most extensive search on the internet and&nbsp;have found a total of more than 30 Internet storage service providers*. In the initial screening, we have filtered about 20 websites; For the remaining 10 websites, we have created a test&nbsp;account and&nbsp;performed an extensive test&nbsp;on each website. We looked at the website UI design, basic features, advanced features, service model, performance and reliability, etc. After the comparison, we filtered another 3 websites. The remaining 7 websites are chosen because of either&nbsp;their good&nbsp;features or for&nbsp;their popularity. </P>
<H3>The features that matter</H3>
<H4>The following features are&nbsp;fundamental to all Internet storage websites;</H4>
<OL>
<LI>Upload/download/manage files; 
<LI>Create and manage folders; </LI></OL>
<P>All 7 websites support these features. Some websites have only implemented web-based upload/download, while DriveHQ, XDrive, iBackup, FilesAnywhere offer excellent client applications or drive-mapping technologies. </P>
<P>All 7 websites also offer&nbsp;file-sharing service, which reflects that sharing files with friends is one of the main purposes of online storage.</P>
<P>Of the 7 websites, XDrive.com, FilesAnywhere.com and iBackup.com&nbsp;have been in operation for more than 7 years. They have good technologies that have matured over a long time. On the other hand, Box.net is a new player; and we found its services and technologies still need time to mature. Streamload.com and Yahoo Briefcase have also operated for a long time, but their services and technologies have been more focused on a small niche market. DriveHQ was founded about 2-3 years ago; however&nbsp;its technology&nbsp;has surpassed&nbsp;many existing technologies. </P>
<P>4 websites&nbsp;have implemented "folder treeview". They are: DriveHQ, XDrive, FilesAnywhere and Streamload. We don't like the way FilesAnywhere and Streamload implemented their treeviews; however, both DriveHQ and XDrive's implementation&nbsp;is very elegant, and gives users a&nbsp;familiar&nbsp;Windows Explorer interface.&nbsp; </P>
<P>A&nbsp;good&nbsp;internet storage website usually also offers a good client application. For file upload/download/backup applications, (DriveHQ's) FileManager 2.0, WWWBackup 1.1 and (XDrive's) XDrive Desktop, (iBackup's) "IBackup for Windows"&nbsp;are the most impressive applications among all client applications. On the other hand, (Streamload.com's) Streamload Uploader and Downloader only have upload and download functions; Box.net and Yahoo Briefcase don't provide any client applications. </P>
<H4>Features we particularly like:</H4>
<OL>
<LI>Web-based treeview; 
<LI>Web-based folder and file preview, incl. thumbnail view; 
<LI>Sharing a folder with user-based permissioning system; (compares to a password-based permissioning system) 
<LI>Access a shared folder by logging on your own account! 
<LI>A reliable and highly efficient client application that works like Windows Explorer, or integrates with Windows Explorer; 
<LI>An online backup application that can automatically back up / sync selected folders. </LI></OL>
<H3>The Score board</H3>
<TABLE id=Table2 height=236 cellSpacing=1 cellPadding=3 bgColor=#f1f1f1 border=0>
<TBODY>
<TR bgColor=#e1e1e1>
<TD width=184 height=38>Featrues \Websites </TD>
<TD width=96 height=38><A href="http://www.drivehq.com/" target=_blank>DriveHQ</A></TD>
<TD width=170 height=38><A href="http://www.xdrive.com/" target=_blank>XDrive</A></TD>
<TD width=187 height=38><A href="http://www.filesanywhere.com/" target=_blank>FilesAnywhere</A></TD>
<TD width=241 height=38><A href="http://www.ibackup.com/" target=_blank>iBackup</A> </TD>
<TD width=241 height=38><A href="http://www.streamload.com/" target=_blank>Streamload</A></TD>
<TD width=241 height=38><A target=_blank>Yahoo Briefcase</A></TD>
<TD width=241 height=38><A href="http://www.box.net/" target=_blank>Box.net</A></TD></TR>
<TR bgColor=#ffffff>
<TD vAlign=top width=184>Storage web interface and usability </TD>
<TD vAlign=top width=96>4.5 </TD>
<TD vAlign=top width=170>4 </TD>
<TD vAlign=top width=187>3.5 </TD>
<TD vAlign=top width=241>3.5 </TD>
<TD vAlign=top width=241>3.5 </TD>
<TD vAlign=top width=241>3 </TD>
<TD vAlign=top width=241>3 </TD></TR>
<TR bgColor=#ffffff>
<TD vAlign=top width=184 height=18>
<P>General web features </P></TD>
<TD vAlign=top width=96 height=18>5 </TD>
<TD vAlign=top width=170 height=18>5 </TD>
<TD vAlign=top width=187 height=18>5 </TD>
<TD vAlign=top width=241 height=18>4.5 </TD>
<TD vAlign=top width=241 height=18>4.0 </TD>
<TD vAlign=top width=241 height=18>2.5 </TD>
<TD vAlign=top width=241 height=18>3.0 </TD></TR>
<TR bgColor=#ffffff>
<TD vAlign=top width=184>Upload/Download/Management&nbsp; Client applications </TD>
<TD vAlign=top width=96>5 </TD>
<TD vAlign=top width=170>4.5 </TD>
<TD vAlign=top width=187>4 </TD>
<TD vAlign=top width=241>4 </TD>
<TD vAlign=top width=241>3.0 </TD>
<TD vAlign=top width=241>- </TD>
<TD vAlign=top width=241>- </TD></TR>
<TR bgColor=#ffffff>
<TD vAlign=top width=184>Backup Application </TD>
<TD vAlign=top width=96>4.5 </TD>
<TD vAlign=top width=170>4 </TD>
<TD vAlign=top width=187>4 </TD>
<TD vAlign=top width=241>5 </TD>
<TD vAlign=top width=241>- </TD>
<TD vAlign=top width=241>- </TD>
<TD vAlign=top width=241>- </TD></TR>
<TR bgColor=#ffffff>
<TD vAlign=top width=184>File Sharing </TD>
<TD vAlign=top width=96>4.5 </TD>
<TD vAlign=top width=170>4.5 </TD>
<TD vAlign=top width=187>3 </TD>
<TD vAlign=top width=241>3 </TD>
<TD vAlign=top width=241>2.5 </TD>
<TD vAlign=top width=241>2.5 </TD>
<TD vAlign=top width=241>2.5 </TD></TR>
<TR bgColor=#ffffff>
<TD vAlign=top width=184>Group Sharing and Collaboration </TD>
<TD vAlign=top width=96>4 </TD>
<TD vAlign=top width=170>4 </TD>
<TD vAlign=top width=187>4 </TD>
<TD vAlign=top width=241>3.5 </TD>
<TD vAlign=top width=241>- </TD>
<TD vAlign=top width=241>- </TD>
<TD vAlign=top width=241>- </TD></TR>
<TR bgColor=#ffffff>
<TD vAlign=top width=184>Other&nbsp;common&nbsp;features </TD>
<TD vAlign=top width=96>4.5 </TD>
<TD vAlign=top width=170>4 </TD>
<TD vAlign=top width=187>4 </TD>
<TD vAlign=top width=241>4 </TD>
<TD vAlign=top width=241>2.5 </TD>
<TD vAlign=top width=241>3 </TD>
<TD vAlign=top width=241>2.5 </TD></TR>
<TR bgColor=#ffffff>
<TD vAlign=top width=184>Other advanced features </TD>
<TD vAlign=top width=96>4.5* </TD>
<TD vAlign=top width=170>- </TD>
<TD vAlign=top width=187>- </TD>
<TD vAlign=top width=241>- </TD>
<TD vAlign=top width=241>- </TD>
<TD vAlign=top width=241>4.0 </TD>
<TD vAlign=top width=241>- </TD></TR>
<TR bgColor=#ffffff>
<TD vAlign=top width=184>Total Score </TD>
<TD vAlign=top width=96>36 </TD>
<TD vAlign=top width=170>30 </TD>
<TD vAlign=top width=187>27.5 </TD>
<TD vAlign=top width=241>27.5 </TD>
<TD vAlign=top width=241>15.5 </TD>
<TD vAlign=top width=241>15 </TD>
<TD vAlign=top width=241>11 </TD></TR>
<TR bgColor=#ffffff>
<TD vAlign=top width=184 height=17>Average Score </TD>
<TD vAlign=top width=96 height=17>4.5 </TD>
<TD vAlign=top width=170 height=17>4.29 </TD>
<TD vAlign=top width=187 height=17>3.93 </TD>
<TD vAlign=top width=241 height=17>3.93 </TD>
<TD vAlign=top width=241 height=17>3.1 </TD>
<TD vAlign=top width=241 height=17>3.0 </TD>
<TD vAlign=top width=241 height=17>2.75 </TD></TR></TBODY></TABLE>
<H3>Our Pick</H3>
<H4><A href="http://www.drivehq.com/" target=_blank>DriveHQ.com</A>&nbsp;is the clear winner in this comprehensive review. It stands out in these areas:</H4>
<UL>
<LI>Rich feature with nice usability; 
<LI>Impressive client software including online file management software and backup software; 
<LI>An elegant and powerful way to share folders with friends; 
<LI>A wide range of advanced features including online photo editing/printing, gifts,&nbsp;and FTP/publishing/hosting services.</LI></UL>
<H3>Detailed Feature Comparison</H3>
<P>The following tables provide summary information on each storage service website. </P>
<TABLE id=TABLE1 height=236 cellSpacing=1 cellPadding=0 bgColor=#f1f1f1 border=0>
<TBODY>
<TR bgColor=#e1e1e1>
<TD vAlign=top width=184 height=19>
<P>Featrues \Websites </P></TD>
<TD vAlign=top width=173 height=19>Yahoo Briefcase </TD>
<TD vAlign=top width=173 height=19>Box.net </TD>
<TD vAlign=top width=368 height=19>
<P>DriveHQ </P></TD>
<TD vAlign=top width=231 height=19>
<P>XDrive </P></TD>
<TD vAlign=top width=256 height=19>
<P>&nbsp;FilesAnywhere </P></TD>
<TD vAlign=top width=241 height=19>
<P>&nbsp;iBackup </P></TD>
<TD vAlign=top width=241 height=19>Streamload </TD></TR>
<TR bgColor=#ffffff>
<TD vAlign=top width=184>Service terms</TD>
<TD vAlign=top width=173>
<P>- Free 30MB</P>
<P>-&nbsp;Paid services</P></TD>
<TD vAlign=top width=173>
<P>- No free trial; </P>
<P>- Paid services</P></TD>
<TD vAlign=top width=368>
<P align=left>- Free 100MB</P>
<P align=left>- Paid services</P></TD>
<TD vAlign=top width=231>
<P>- 15-day 5GB trial</P>
<P>- Paid services</P></TD>
<TD vAlign=top width=256>
<P>- 30-day 50MB&nbsp;trial</P>
<P>-&nbsp;Paid service</P></TD>
<TD vAlign=top width=241>
<P>- 15-day 5GB&nbsp;trial</P>
<P>-&nbsp;Paid services</P></TD>
<TD vAlign=top width=241>Unlimited storage, but only 100MB download/month</TD></TR>
<TR bgColor=#ffffff>
<TD vAlign=top width=184>
<P>User Interface </P></TD>
<TD vAlign=top width=173>
<P>- Simple, but&nbsp;with limited&nbsp;feature and usability;</P>
<P>- Doesn't have a folder treeview;</P>
<P>- Lacks online management functions</P></TD>
<TD vAlign=top width=173>
<P>- Simple, but lacks many advanced features;</P>
<P>- Doesn't have a folder tree view;</P>
<P>- Doesn't provide a good online&nbsp;file management functions;</P></TD>
<TD vAlign=top width=368>
<P>- Offers a very simple user interface like Windows Explorer; </P>
<P>&nbsp;</P>
<P>- Supports treeview; </P>
<P>&nbsp;</P>
<P>- When expand a tree, no need to refresh the whole page;&nbsp; </P>
<P>&nbsp;</P></TD>
<TD vAlign=top width=231>
<P>- Overall the Internet is&nbsp;quite good. Except it pushes too hard to sell; </P>
<P>&nbsp;</P>
<P>- It supports folder tree view; no need to refresh the whole page to expand a folder;&nbsp; </P>
<P>&nbsp;</P>
<P>- Supports music album </P></TD>
<TD vAlign=top width=256>
<P>- The interface is&nbsp;a little&nbsp;geek-type; </P>
<P>&nbsp;</P>
<P>-&nbsp;It has a tree view, and when expand a tree node, it is not needed to refresh the whole page; </P>
<P>&nbsp;</P>
<P>-&nbsp;Strangely, it doesn't have a view folder contents page, like "My Computer"; rather files in a folder is directly listed in the tree view; </P></TD>
<TD vAlign=top width=241>
<P>The web interface is&nbsp;simple enough; but without a tree view and files/folders preview, it is not very usable; </P></TD>
<TD vAlign=top width=241>
<P>- The web interface is un-conventional, but appears to be not hard to use.</P>
<P>- It supports folder tree view;</P>
<P>- The folder view page can only display files in one format, which is not as good as DriveHQ or XDrive.</P></TD></TR>
<TR bgColor=#ffffff>
<TD vAlign=top width=184>
<P>Publishing </P></TD>
<TD vAlign=top width=173>- Publish is only offered to paid users</TD>
<TD vAlign=top width=173>- Doesn't support publish; however,&nbsp;a shared folder is publicly accessible with a static URL</TD>
<TD vAlign=top width=368>
<P>
<P>- Supports publish; </P>
<P>&nbsp;</P>
<P>- Supports categorized content gallery&nbsp; </P>
<P></P>
<P></P>
<P></P>
<P></P>
<P></P></TD>
<TD vAlign=top width=231>
<P>&nbsp; Not supported </P></TD>
<TD vAlign=top width=256>
<P>&nbsp; Not supported </P></TD>
<TD vAlign=top width=241>
<P>&nbsp; Not supported </P></TD>
<TD vAlign=top width=241>Not supported</TD></TR>
<TR bgColor=#ffffff>
<TD vAlign=top width=184>
<P>Online Sharing Features </P></TD>
<TD vAlign=top width=173>
<P>(1) Supports Private folder, public folder and "Friend folder".</P>
<P>(2) Folders can only be shared to Yahoo members;</P></TD>
<TD vAlign=top width=173>
<P>(1) Supports a simple sharing through a static URL; the static URL can be password protected;</P>
<P>(2) Collaboration is supported through sub-accounts; </P></TD>
<TD vAlign=top width=368>
<P>(1) Supports a simple sharing through a special URL with an&nbsp;access key;It is easy to use, but supports Read-only access; </P>
<P>(2) A more advanced sharing method that can create multiple shares for&nbsp;one folder; each share can be set with different permissions to different users; </P>
<P>(3) Supports a&nbsp;very clever way of accessing a shared folder when the "shared-to" user is (or sign up a new&nbsp;account) a DriveHQ member. The user can just logon his own account and access the shared folders with a defined access permission.&nbsp; </P>
<P>&nbsp;</P></TD>
<TD vAlign=top width=231>
<P>(1) Support advanced sharing; however, users must become XDrive member before they can access any shared files; </P>
<P>&nbsp;</P>
<P>(2) Users logon to their own accounts to access the shared folders </P></TD>
<TD vAlign=top width=256>
<P>&nbsp;(1) Supports advanced share; however, it can only share to FilesAnywhere members! </P>
<P>&nbsp;</P>
<P>(2) Users logon to their own accounts to access a shared folder; </P>
<P>&nbsp;</P></TD>
<TD vAlign=top width=241>
<P>(1) Only supports file-sharing through a URL with a key; can limit download times and days; </P></TD>
<TD vAlign=top width=241>Can share files only through email the file, or email file link</TD></TR>
<TR bgColor=#ffffff>
<TD vAlign=top width=184>
<P>&nbsp; </P></TD>
<TD vAlign=top width=173></TD>
<TD vAlign=top width=173></TD>
<TD vAlign=top width=368>
<P>&nbsp; </P></TD>
<TD vAlign=top width=231>
<P>&nbsp; </P></TD>
<TD vAlign=top width=256>
<P>&nbsp; </P></TD>
<TD vAlign=top width=241>
<P>&nbsp; </P></TD>
<TD vAlign=top width=241></TD></TR>
<TR bgColor=#ffffff>
<TD vAlign=top width=184 height=18>
<P>Upload/download support </P></TD>
<TD vAlign=top width=173 height=18>
<P>- Web-based upload only;</P>
<P>- Maximum upload size is 5MB for free accounts and 15MB for paid accounts!</P></TD>
<TD vAlign=top width=173 height=18>
<P>- HTML form based support</P>
<P>- Applet-based upload;</P></TD>
<TD vAlign=top width=368 height=18>
<P>- HTML form based file upload; </P>
<P>&nbsp;</P>
<P>-&nbsp;Client applications; </P>
<P>&nbsp;</P>
<P>-&nbsp;Map internet drive/folder;&nbsp; </P>
<P>&nbsp;</P>
<P>- FTP client </P></TD>
<TD vAlign=top width=231 height=18>
<P>- Web based upload </P>
<P>&nbsp;</P>
<P>- XDrive client (Map X: Drive) </P></TD>
<TD vAlign=top width=256 height=18>
<P>- Implemented a zip download function; not as convenient as a client application; only available to paid users; </P>
<P>&nbsp;</P>
<P>- All client software requires user subscription; </P>
<P>&nbsp;</P>
<P>- Supports WebDAV drive mapping; works fine in a fast network; however, it is not efficient on Windows XP as it tries to cache lots of files, resulting very heavy network usage; </P></TD>
<TD vAlign=top width=241 height=18>
<P>- supports WebFolder;&nbsp;supports drag-n-drop upload/download. The usability is bad, </P>
<P>&nbsp;</P>
<P>- IDrive client software; map as I: drive </P></TD>
<TD vAlign=top width=241 height=18>
<P>-- HTML form based upload;</P>
<P>-- Java applet based batch uploader;</P>
<P>-- Streamload application;</P>
<P>-- Software installer is very ugly</P></TD></TR>
<TR bgColor=#ffffff>
<TD vAlign=top width=184>
<P>Group Sharing/Collaboration </P></TD>
<TD vAlign=top width=173>Not supported</TD>
<TD vAlign=top width=173>- Claims to support group sharing; but doesn't work&nbsp;in our tests (See screenshot)</TD>
<TD vAlign=top width=368>
<P>- Implicitly supports group sharing and collaboration. Multiple users can share and gain read/write access to the same shared folder. </P></TD>
<TD vAlign=top width=231>
<P>- Supports group sharing </P></TD>
<TD vAlign=top width=256>
<P>-&nbsp;Has the best technology on group sharing; but the usability&nbsp;needs a lot of improvement.&nbsp; </P></TD>
<TD vAlign=top width=241>
<P>- Support through sub-account; group users use the group creators storage; read-only or read-write access can be assigned; </P></TD>
<TD vAlign=top width=241>Not supported</TD></TR>
<TR bgColor=#ffffff>
<TD vAlign=top width=184>Online file preview/play</TD>
<TD vAlign=top width=173>Not supported</TD>
<TD vAlign=top width=173>- Only supports photo thumbnail preview</TD>
<TD vAlign=top width=368>
<P>- Can preview photo, video, music, HTML, text&nbsp;and flash files, etc.</P>
<P>- Advanced photo viewing support; has 3 sizes for photos: original, thumbnail, large view and slideshow</P></TD>
<TD vAlign=top width=231>- Can preview photos; however, cannot display thumbnails for some large photos;</TD>
<TD vAlign=top width=256>- Cannot preview files</TD>
<TD vAlign=top width=241>- Can only preview photos on web</TD>
<TD vAlign=top width=241>- Can preview photo&nbsp;thumbnails;</TD></TR>
<TR bgColor=#ffffff>
<TD vAlign=top width=184>
<P>Photo Editing features </P></TD>
<TD vAlign=top width=173>Not supported</TD>
<TD vAlign=top width=173>Not supported</TD>
<TD vAlign=top width=368>
<P>- Supports online rotate, brightness, contrastness, special photo effects; </P>
<P>&nbsp;</P>
<P>-&nbsp;Supports batch photo editing/captioning through client software (Batch PhotoEditor)&nbsp; </P></TD>
<TD vAlign=top width=231>
<P>- Not supported </P></TD>
<TD vAlign=top width=256>
<P>- Not supported&nbsp; </P></TD>
<TD vAlign=top width=241>
<P>Not supported&nbsp; </P></TD>
<TD vAlign=top width=241>Not supported</TD></TR>
<TR bgColor=#ffffff>
<TD vAlign=top width=184 height=14>
<P>Online Photo services </P></TD>
<TD vAlign=top width=173 height=14>- Yahoo has online photos service; but is not integrated with Briefcase!!</TD>
<TD vAlign=top width=173 height=14>No</TD>
<TD vAlign=top width=368 height=14>
<P>- Supports advanced online photo printing services; </P>
<P>&nbsp;</P>
<P>- Supports customized photos gifts services, incl. personalized photo T-shirts, photo mugs, posters, etc. </P>
<P>&nbsp;</P>
<P>&nbsp;</P></TD>
<TD vAlign=top width=231 height=14>
<P>No&nbsp; </P></TD>
<TD vAlign=top width=256 height=14>
<P>No&nbsp; </P></TD>
<TD vAlign=top width=241 height=14>
<P>No </P></TD>
<TD vAlign=top width=241 height=14>No</TD></TR>
<TR bgColor=#ffffff>
<TD vAlign=top width=184 height=19>
<P>Web Grab/Load Files</P>
<P>(Save&nbsp;files on the internet directly to your personal online storage without downloading files to local PC first)</P></TD>
<TD vAlign=top width=173 height=19>Not supported</TD>
<TD vAlign=top width=173 height=19>Not supported</TD>
<TD vAlign=top width=368 height=19>Supported in&nbsp;creating a&nbsp;new file</TD>
<TD vAlign=top width=231 height=19>Supported via Web Grab</TD>
<TD vAlign=top width=256 height=19>Not supported</TD>
<TD vAlign=top width=241 height=19>Supported via web load</TD>
<TD vAlign=top width=241 height=19>Supported</TD></TR>
<TR bgColor=#ffffff>
<TD vAlign=top width=184>Save&nbsp;web Short-cut / link</TD>
<TD vAlign=top width=173>Not supported</TD>
<TD vAlign=top width=173>Not supported</TD>
<TD vAlign=top width=368>Supported in creating a new file</TD>
<TD vAlign=top width=231>Supported</TD>
<TD vAlign=top width=256>Not supported</TD>
<TD vAlign=top width=241>Not supported</TD>
<TD vAlign=top width=241>Not supported</TD></TR>
<TR bgColor=#ffffff>
<TD vAlign=top width=184 height=19>FTP Support</TD>
<TD vAlign=top width=173 height=19>No</TD>
<TD vAlign=top width=173 height=19>No</TD>
<TD vAlign=top width=368 height=19>Yes</TD>
<TD vAlign=top width=231 height=19>No</TD>
<TD vAlign=top width=256 height=19>Yes for paid users</TD>
<TD vAlign=top width=241 height=19>No</TD>
<TD vAlign=top width=241 height=19>No</TD></TR>
<TR bgColor=#ffffff>
<TD vAlign=top width=184>Drive / Folder mapping</TD>
<TD vAlign=top width=173>No</TD>
<TD vAlign=top width=173>No</TD>
<TD vAlign=top width=368>
<P>Yes:</P>
<P>- "My DriveHQ" folder through&nbsp;DriveHQ Desktop Express;</P>
<P>- Map as any drive with&nbsp;WWWDrive</P></TD>
<TD vAlign=top width=231>
<P>Yes:</P>
<P>- XDrive Desktop, map as X: drive;</P></TD>
<TD vAlign=top width=256>
<P>Yes:</P>
<P>-&nbsp;For&nbsp;high-end&nbsp;paid users only</P></TD>
<TD vAlign=top width=241>
<P>Yes:</P>
<P>Map as I: drive</P></TD>
<TD vAlign=top width=241>No</TD></TR>
<TR bgColor=#ffffff>
<TD vAlign=top width=184 height=24>
<P>Supports resuming of broken upload/download </P></TD>
<TD vAlign=top width=173 height=24>No</TD>
<TD vAlign=top width=173 height=24>No</TD>
<TD vAlign=top width=368 height=24>
<P>Yes: </P>
<P>&nbsp;</P>
<P>- The feature is best implemented in DriveHQ FileManager; it uses a task list to display the progress of file downloads and uploads; partly uploaded/downloaded files can be resumed at a later time. </P></TD>
<TD vAlign=top width=231 height=24>
<P>Yes and No: </P>
<P>&nbsp;</P>
<P>- Supports resuming of broken downloads </P>
<P>&nbsp;</P>
<P>- Resuming fails if computer is restarted </P>
<P>&nbsp;</P>
<P>- Doesn't support upload resuming </P></TD>
<TD vAlign=top width=256 height=24>
<P>Yes and No: </P>
<P>&nbsp;</P>
<P>- Supports resuming of broken downloads </P>
<P>&nbsp;</P>
<P>- Resuming fails if computer is restarted </P>
<P>&nbsp;</P>
<P>- Doesn't support upload resuming </P></TD>
<TD vAlign=top width=241 height=24>
<P>No: </P>
<P>&nbsp;</P>
<P>IBackup doesn't support resuming of disconnected uploads / downloads. IDrive completely locks Windows Explorer&nbsp;when network is disconnected while uploading/downloading&nbsp; </P></TD>
<TD vAlign=top width=241 height=24>No</TD></TR>
<TR bgColor=#ffffff>
<TD vAlign=top width=184 height=23>Display thumbnail view in Windows Explorer (mapped drive) or&nbsp;Client software</TD>
<TD vAlign=top width=173 height=23>N/A</TD>
<TD vAlign=top width=173 height=23>N/A</TD>
<TD vAlign=top width=368 height=23>
<P>Yes: </P>
<P>- Very fast;&nbsp;the system caches thumbnail photos</P></TD>
<TD vAlign=top width=231 height=23>
<P>Yes:</P>
<P>- Thumbnail view is slow as it downloads all original size photos;&nbsp;it does not always work;</P></TD>
<TD vAlign=top width=256 height=23>Not supported</TD>
<TD vAlign=top width=241 height=23>Not supported</TD>
<TD vAlign=top width=241 height=23>N/A</TD></TR>
<TR bgColor=#ffffff>
<TD vAlign=top width=184 height=23>File Captioning</TD>
<TD vAlign=top width=173 height=23>Supported</TD>
<TD vAlign=top width=173 height=23>Supported</TD>
<TD vAlign=top width=368 height=23>Supported</TD>
<TD vAlign=top width=231 height=23>Supported</TD>
<TD vAlign=top width=256 height=23>Supported</TD>
<TD vAlign=top width=241 height=23>Not supported</TD>
<TD vAlign=top width=241 height=23>Supported</TD></TR>
<TR bgColor=#ffffff>
<TD vAlign=top width=184 height=24>File Searching</TD>
<TD vAlign=top width=173 height=24>No</TD>
<TD vAlign=top width=173 height=24>
<P>Yes:</P>
<P>- File name based search only</P></TD>
<TD vAlign=top width=368 height=24>
<P>Yes:</P>
<P>Supports advanced file searching: (name, size, date, etc.)</P></TD>
<TD vAlign=top width=231 height=24>
<P>Yes:</P>
<P>- Can only search file name</P></TD>
<TD vAlign=top width=256 height=24>
<P>Yes:</P>
<P>- Supports advanced file searching (Date, name, size, etc.)</P></TD>
<TD vAlign=top width=241 height=24>
<P>Yes:</P>
<P>- Can only search file name;</P></TD>
<TD vAlign=top width=241 height=24>No</TD></TR>
<TR bgColor=#ffffff>
<TD vAlign=top width=184 height=78>
<P>Compatibility: </P>
<P>Pop-up blockers</P></TD>
<TD vAlign=top width=173 height=78>
<P>Yes:</P>
<P>- No pop-up windows</P></TD>
<TD vAlign=top width=173 height=78>Used some pop-up windows</TD>
<TD vAlign=top width=368 height=78>
<P>Yes:</P>
<P>- Never uses Pop-up windows</P></TD>
<TD vAlign=top width=231 height=78>Used pop-up windows in many places that could be blocked by pop-up blockers;</TD>
<TD vAlign=top width=256 height=78>Used a few pop-up windows</TD>
<TD vAlign=top width=241 height=78>
<P>Yes:</P>
<P>No pop-up windows;</P></TD>
<TD vAlign=top width=241 height=78>Use some pop-up windows</TD></TR>
<TR bgColor=#ffffff>
<TD vAlign=top width=184 height=24>
<P>Compatibility: </P>
<P>Applet / ActiveX</P></TD>
<TD vAlign=top width=173 height=24>
<P>Yes</P>
<P>- No applet / activeX</P></TD>
<TD vAlign=top width=173 height=24>Used Applet for drag and drop uploader</TD>
<TD vAlign=top width=368 height=24>
<P>Yes</P>
<P>- No applet / activeX</P></TD>
<TD vAlign=top width=231 height=24>Used</TD>
<TD vAlign=top width=256 height=24>
<P>Yes</P>
<P>- No applet / activeX</P></TD>
<TD vAlign=top width=241 height=24>
<P>Yes</P>
<P>- No applet / activeX</P></TD>
<TD vAlign=top width=241 height=24>Use Java Applets</TD></TR>
<TR bgColor=#ffffff>
<TD vAlign=top width=184 height=24>Compatibility with Linux and Mac OS</TD>
<TD vAlign=top width=173 height=24>Yes</TD>
<TD vAlign=top width=173 height=24>- Optimized for Windows</TD>
<TD vAlign=top width=368 height=24>
<P>- Optimized for Windows;</P>
<P>- Supports FTP and WebDAV, so&nbsp;it&nbsp;works with third-party applications on Linux and Mac</P></TD>
<TD vAlign=top width=231 height=24>
<P>- Optimized for Windows</P>
<P>- Have some applications for Mac and Linux</P></TD>
<TD vAlign=top width=256 height=24>
<P>- Optimized for Windows;</P>
<P>-&nbsp;FTP and WebDAV&nbsp;are supported for paid accounts, this should work with third-party FTP/WebDAV applications on Mac and Linux</P></TD>
<TD vAlign=top width=241 height=24>
<P>- Optimized for Windows;</P>
<P>- Backup client software is supported for Mac and Linux</P></TD>
<TD vAlign=top width=241 height=24>No</TD></TR>
<TR bgColor=#ffffff>
<TD vAlign=top width=184 height=24>Payment method</TD>
<TD vAlign=top width=173 height=24>Requires Yahoo Security key</TD>
<TD vAlign=top width=173 height=24>- Supports all major credit cards; payment through thrid party company 2checkout.com</TD>
<TD vAlign=top width=368 height=24>
<P>- Supports all major credit cards;</P>
<P>- Paypal (online);</P>
<P>- Prepaid service (online)</P></TD>
<TD vAlign=top width=231 height=24>- All major credit cards</TD>
<TD vAlign=top width=256 height=24>
<P>- All major credit cards;</P>
<P>- Paypal and e-check are supported offline; requires faxing of&nbsp;an order form.</P></TD>
<TD vAlign=top width=241 height=24>- All major credit cards</TD>
<TD vAlign=top width=241 height=24>
<P>- All major credit cards</P>
<P>- Paypal / e-Check</P></TD></TR>
<TR bgColor=#ffffff>
<TD vAlign=top width=184 height=24>Service billing</TD>
<TD vAlign=top width=173 height=24>Annual or monthly</TD>
<TD vAlign=top width=173 height=24>Annual or monthly</TD>
<TD vAlign=top width=368 height=24>Annual or monthly</TD>
<TD vAlign=top width=231 height=24>Annual or monthly</TD>
<TD vAlign=top width=256 height=24>Annual or monthly</TD>
<TD vAlign=top width=241 height=24>Annual or monthly</TD>
<TD vAlign=top width=241 height=24>Annual or monthly</TD></TR>
<TR bgColor=#ffffff>
<TD vAlign=top width=184 height=24>Streaming Media support and online viewing/play of media files&nbsp;(other than photo)</TD>
<TD vAlign=top width=173 height=24>No</TD>
<TD vAlign=top width=173 height=24>No</TD>
<TD vAlign=top width=368 height=24>
<P>Yes:</P>
<P>- Supports .mp3, .asf, .wma, .wmv, .ra, .rm (need real player), .mpg and flash etc.</P></TD>
<TD vAlign=top width=231 height=24>No</TD>
<TD vAlign=top width=256 height=24>No</TD>
<TD vAlign=top width=241 height=24>No</TD>
<TD vAlign=top width=241 height=24>No</TD></TR>
<TR bgColor=#ffffff>
<TD vAlign=top width=184 height=24>Music Album support</TD>
<TD vAlign=top width=173 height=24>No</TD>
<TD vAlign=top width=173 height=24>No</TD>
<TD vAlign=top width=368 height=24>No</TD>
<TD vAlign=top width=231 height=24>
<P>Yes: </P>
<P>It provides a&nbsp;good way to index and organize songs.&nbsp;However, without a good client player software,&nbsp;the feature may&nbsp;not&nbsp;be very useful.</P></TD>
<TD vAlign=top width=256 height=24>No</TD>
<TD vAlign=top width=241 height=24>No</TD>
<TD vAlign=top width=241 height=24>No</TD></TR>
<TR bgColor=#ffffff>
<TD vAlign=top width=184 height=24>Unicode file/folder name support (Intl language support)</TD>
<TD vAlign=top width=173 height=24>Yes</TD>
<TD vAlign=top width=173 height=24>No</TD>
<TD vAlign=top width=368 height=24>
<P>Yes: </P>
<P>- Both the website and the client applications&nbsp;support unicode </P></TD>
<TD vAlign=top width=231 height=24>No</TD>
<TD vAlign=top width=256 height=24>No</TD>
<TD vAlign=top width=241 height=24>No</TD>
<TD vAlign=top width=241 height=24>No</TD></TR>
<TR bgColor=#ffffff>
<TD vAlign=top width=184 height=24>Other features</TD>
<TD vAlign=top width=173 height=24>- Yahoo's web portal service</TD>
<TD vAlign=top width=173 height=24>N/A</TD>
<TD vAlign=top width=368 height=24>
<P>- Website publishing/FTP Hosting</P>
<P>- Free web-based email and SMTP/POP3 based email;</P></TD>
<TD vAlign=top width=231 height=24>N/A</TD>
<TD vAlign=top width=256 height=24>N/A</TD>
<TD vAlign=top width=241 height=24>N/A</TD>
<TD vAlign=top width=241 height=24>N/A</TD></TR>
<TR bgColor=#ffffff>
<TD vAlign=top width=184 height=24>Special Strength</TD>
<TD vAlign=top width=173 height=24>- Yahoo's brand name is the&nbsp;only reason people choose Briefcase.&nbsp; </TD>
<TD vAlign=top width=173 height=24>
<P>- Both strength and weakness: Simple but lacks useful features</P></TD>
<TD vAlign=top width=368 height=24>
<P>- Comprehensive services and&nbsp;features;</P>
<P>- Usability;</P>
<P>- Free service</P></TD>
<TD vAlign=top width=231 height=24>
<P>- Comprehensive services and&nbsp;features;</P>
<P>- Usability</P></TD>
<TD vAlign=top width=256 height=24>- More geared towards technical geeks IT companies</TD>
<TD vAlign=top width=241 height=24>- Backup application, as the company name suggests</TD>
<TD vAlign=top width=241 height=24>-- Unlimited storage, but with limited downloads</TD></TR></TBODY></TABLE>
<P><FONT face=Verdana size=4>Disclaimer </P>
<P>&nbsp;</P>
<P>The information provided in this document is provided as is, without any warranttee, implicit or explicit. Before you sign up a new account, you should verify the information yourself. If you find any error within this document, please email <A href="mailto:nicephoto@yahoo.com">nicephoto@yahoo.com</A> </P></DIV></FONT><img src ="http://www.cnblogs.com/jzywh/aggbug/318130.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/41298/" target="_blank">[新闻]SourceForge可正常访问</a>]]></description></item><item><title>ASP.NET Mobile Web Application Quickstart</title><link>http://www.cnblogs.com/jzywh/archive/2005/12/17/299020.html</link><dc:creator>江大鱼</dc:creator><author>江大鱼</author><pubDate>Sat, 17 Dec 2005 04:37:00 GMT</pubDate><guid>http://www.cnblogs.com/jzywh/archive/2005/12/17/299020.html</guid><wfw:comment>http://www.cnblogs.com/jzywh/comments/299020.html</wfw:comment><comments>http://www.cnblogs.com/jzywh/archive/2005/12/17/299020.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/jzywh/comments/commentRss/299020.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/jzywh/services/trackbacks/299020.html</trackback:ping><description><![CDATA[<P>a good article:<BR><BR><A href="http://www.devx.com/wireless/Article/22552/1954?pf=true">http://www.devx.com/wireless/Article/22552/1954?pf=true</A><BR><BR><BR><BR>微软官方站点&nbsp;&nbsp; <A href="http://www.asp.net/default.aspx?tabindex=4&amp;tabid=44">http://www.asp.net/default.aspx?tabindex=4&amp;tabid=44</A><BR><BR>Mobile Application Development Toolkit<BR><BR><A href="http://www.microsoft.com/downloads/details.aspx?familyid=F4328333-0FD4-4348-88C0-39D10FB64F0A&amp;displaylang=en">http://www.microsoft.com/downloads/details.aspx?familyid=F4328333-0FD4-4348-88C0-39D10FB64F0A&amp;displaylang=en</A><BR><BR><BR><A name=top>Roadmap for Mobile Web Development with ASP.NET</A><BR><BR><BR><A href="http://www.asp.net/mobile/mobileroadmap.aspx?tabindex=6">http://www.asp.net/mobile/mobileroadmap.aspx?tabindex=6</A><BR><BR><BR>Mobile Application Architecture animated presentation<BR><BR><BR><A href="http://www.asp.net/mobile/flasharchitecture.aspx?tabindex=5">http://www.asp.net/mobile/flasharchitecture.aspx?tabindex=5</A></P><img src ="http://www.cnblogs.com/jzywh/aggbug/299020.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/41295/" target="_blank">[新闻]2008年7月25日IT博客精选</a>]]></description></item><item><title>在一个长字符串中查找"包含所要求多个字符串的最短字符串"的VBscript算法</title><link>http://www.cnblogs.com/jzywh/archive/2005/10/26/262238.html</link><dc:creator>江大鱼</dc:creator><author>江大鱼</author><pubDate>Wed, 26 Oct 2005 01:55:00 GMT</pubDate><guid>http://www.cnblogs.com/jzywh/archive/2005/10/26/262238.html</guid><wfw:comment>http://www.cnblogs.com/jzywh/comments/262238.html</wfw:comment><comments>http://www.cnblogs.com/jzywh/archive/2005/10/26/262238.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/jzywh/comments/commentRss/262238.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/jzywh/services/trackbacks/262238.html</trackback:ping><description><![CDATA[<DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><SPAN style="COLOR: #008080">&nbsp;1</SPAN><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #000000">&lt;</SPAN><SPAN style="COLOR: #000000">%<BR></SPAN><SPAN style="COLOR: #008080">&nbsp;2</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">function</SPAN><SPAN style="COLOR: #000000">&nbsp;GetPos(start,word)<BR></SPAN><SPAN style="COLOR: #008080">&nbsp;3</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">dim</SPAN><SPAN style="COLOR: #000000">&nbsp;i,IntIndex,MaxIndex<BR></SPAN><SPAN style="COLOR: #008080">&nbsp;4</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">dim</SPAN><SPAN style="COLOR: #000000">&nbsp;flag<BR></SPAN><SPAN style="COLOR: #008080">&nbsp;5</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;flag&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">1</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">&nbsp;6</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;MaxIndex&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">0</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">&nbsp;7</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">for</SPAN><SPAN style="COLOR: #000000">&nbsp;i</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">0</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">to</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">ubound</SPAN><SPAN style="COLOR: #000000">(ArrWord)<BR></SPAN><SPAN style="COLOR: #008080">&nbsp;8</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">if</SPAN><SPAN style="COLOR: #000000">&nbsp;i</SPAN><SPAN style="COLOR: #000000">&lt;&gt;</SPAN><SPAN style="COLOR: #0000ff">cint</SPAN><SPAN style="COLOR: #000000">(word)&nbsp;</SPAN><SPAN style="COLOR: #0000ff">then</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">&nbsp;9</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;IntIndex&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">Instr</SPAN><SPAN style="COLOR: #000000">(start</SPAN><SPAN style="COLOR: #000000">+</SPAN><SPAN style="COLOR: #0000ff">len</SPAN><SPAN style="COLOR: #000000">(ArrWord(word)),StrObj,ArrWord(i))<BR></SPAN><SPAN style="COLOR: #008080">10</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">if</SPAN><SPAN style="COLOR: #000000">&nbsp;IntIndex</SPAN><SPAN style="COLOR: #000000">&gt;</SPAN><SPAN style="COLOR: #000000">0</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">then</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">11</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;flag&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;flag&nbsp;</SPAN><SPAN style="COLOR: #000000">+</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">1</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">12</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #008000">'</SPAN><SPAN style="COLOR: #008000">response.write&nbsp;flag&nbsp;&amp;&nbsp;":"&nbsp;&amp;&nbsp;i&nbsp;&amp;&nbsp;"&lt;br&gt;"</SPAN><SPAN style="COLOR: #008000"><BR></SPAN><SPAN style="COLOR: #008080">13</SPAN><SPAN style="COLOR: #008000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">if</SPAN><SPAN style="COLOR: #000000">&nbsp;MaxIndex</SPAN><SPAN style="COLOR: #000000">&lt;</SPAN><SPAN style="COLOR: #000000">(IntIndex</SPAN><SPAN style="COLOR: #000000">+</SPAN><SPAN style="COLOR: #0000ff">len</SPAN><SPAN style="COLOR: #000000">(ArrWord(i)))&nbsp;</SPAN><SPAN style="COLOR: #0000ff">then</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">14</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MaxIndex&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;IntIndex</SPAN><SPAN style="COLOR: #000000">+</SPAN><SPAN style="COLOR: #0000ff">len</SPAN><SPAN style="COLOR: #000000">(ArrWord(i))<BR></SPAN><SPAN style="COLOR: #008080">15</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">end</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">if</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">16</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">end</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">if</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">17</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">end</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">if</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">18</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">next</SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;<BR></SPAN><SPAN style="COLOR: #008080">19</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">if</SPAN><SPAN style="COLOR: #000000">&nbsp;flag&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">ubound</SPAN><SPAN style="COLOR: #000000">(ArrWord)</SPAN><SPAN style="COLOR: #000000">+</SPAN><SPAN style="COLOR: #000000">1</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">then</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">20</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;GetPos&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">&amp;</SPAN><SPAN style="COLOR: #000000">&nbsp;start&nbsp;</SPAN><SPAN style="COLOR: #000000">&amp;</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">,</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">&amp;</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">cstr</SPAN><SPAN style="COLOR: #000000">(MaxIndex</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">start)&nbsp;</SPAN><SPAN style="COLOR: #000000">&amp;</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">)</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">21</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">else</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">22</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;GetPos&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">(1,2,3)</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">23</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">end</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">if</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">24</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;<BR></SPAN><SPAN style="COLOR: #008080">25</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">end&nbsp;function</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">26</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080">27</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">function</SPAN><SPAN style="COLOR: #000000">&nbsp;GetNearest()<BR></SPAN><SPAN style="COLOR: #008080">28</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">dim</SPAN><SPAN style="COLOR: #000000">&nbsp;i,StrResult,IntIndex,Seq,StrResult1<BR></SPAN><SPAN style="COLOR: #008080">29</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;StrResult&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">,</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">30</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;StrResult1&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">,</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;<BR></SPAN><SPAN style="COLOR: #008080">31</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">for</SPAN><SPAN style="COLOR: #000000">&nbsp;i&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">0</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">to</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">ubound</SPAN><SPAN style="COLOR: #000000">(ArrWord)<BR></SPAN><SPAN style="COLOR: #008080">32</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Seq&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">1</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">33</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;IntIndex&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">Instr</SPAN><SPAN style="COLOR: #000000">(Seq,StrObj,ArrWord(i))<BR></SPAN><SPAN style="COLOR: #008080">34</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">do</SPAN><SPAN style="COLOR: #000000">&nbsp;until&nbsp;IntIndex</SPAN><SPAN style="COLOR: #000000">&lt;</SPAN><SPAN style="COLOR: #000000">1</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">35</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;StrResult&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;StrResult&nbsp;</SPAN><SPAN style="COLOR: #000000">&amp;</SPAN><SPAN style="COLOR: #000000">&nbsp;IntIndex&nbsp;</SPAN><SPAN style="COLOR: #000000">&amp;</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">,</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">36</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;StrResult1&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;StrResult1&nbsp;</SPAN><SPAN style="COLOR: #000000">&amp;</SPAN><SPAN style="COLOR: #000000">&nbsp;i&nbsp;</SPAN><SPAN style="COLOR: #000000">&amp;</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">,</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">37</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Seq&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;IntIndex&nbsp;</SPAN><SPAN style="COLOR: #000000">+</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">Len</SPAN><SPAN style="COLOR: #000000">(ArrWord(i))<BR></SPAN><SPAN style="COLOR: #008080">38</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;IntIndex&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">Instr</SPAN><SPAN style="COLOR: #000000">(Seq,StrObj,ArrWord(i))<BR></SPAN><SPAN style="COLOR: #008080">39</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">loop</SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR></SPAN><SPAN style="COLOR: #008080">40</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">next</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">41</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;StrResult&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">left</SPAN><SPAN style="COLOR: #000000">(StrResult,</SPAN><SPAN style="COLOR: #0000ff">len</SPAN><SPAN style="COLOR: #000000">(StrResult)</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">1</SPAN><SPAN style="COLOR: #000000">)<BR></SPAN><SPAN style="COLOR: #008080">42</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;StrResult&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">right</SPAN><SPAN style="COLOR: #000000">(StrResult,</SPAN><SPAN style="COLOR: #0000ff">len</SPAN><SPAN style="COLOR: #000000">(StrResult)</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">1</SPAN><SPAN style="COLOR: #000000">)<BR></SPAN><SPAN style="COLOR: #008080">43</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;StrResult1&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">left</SPAN><SPAN style="COLOR: #000000">(StrResult1,</SPAN><SPAN style="COLOR: #0000ff">len</SPAN><SPAN style="COLOR: #000000">(StrResult1)</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">1</SPAN><SPAN style="COLOR: #000000">)<BR></SPAN><SPAN style="COLOR: #008080">44</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;StrResult1&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">right</SPAN><SPAN style="COLOR: #000000">(StrResult1,</SPAN><SPAN style="COLOR: #0000ff">len</SPAN><SPAN style="COLOR: #000000">(StrResult1)</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">1</SPAN><SPAN style="COLOR: #000000">)<BR></SPAN><SPAN style="COLOR: #008080">45</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;GetNearest&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;StrResult&nbsp;</SPAN><SPAN style="COLOR: #000000">&amp;</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">|</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">&amp;</SPAN><SPAN style="COLOR: #000000">&nbsp;StrResult1<BR></SPAN><SPAN style="COLOR: #008080">46</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">end&nbsp;function</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">47</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080">48</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">dim</SPAN><SPAN style="COLOR: #000000">&nbsp;StrObj,ArrWord,ArrDotList,ArrWordList,ArrAll,i,ArrLen,StrLenList<BR></SPAN><SPAN style="COLOR: #008080">49</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #008000">'</SPAN><SPAN style="COLOR: #008000">StrObj="wer张三色单峰驼retert李四李四李四sdf张三色单峰驼rete34王五53赵六543543rt李四sdfwe"</SPAN><SPAN style="COLOR: #008000"><BR></SPAN><SPAN style="COLOR: #008080">50</SPAN><SPAN style="COLOR: #008000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #000000">StrObj</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">aaa张三bbbb李四李四李四ccc张三dddddddd王五e赵六f李四ggg王五热土hhhhhhh赵六</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">51</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>ArrWord&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">Array</SPAN><SPAN style="COLOR: #000000">(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">张三</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">,</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">李四</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">,</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">王五</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">,</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">赵六</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">,</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">刘七</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">)<BR></SPAN><SPAN style="COLOR: #008080">52</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>ArrAll&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">split</SPAN><SPAN style="COLOR: #000000">(GetNearest,</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">|</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">)<BR></SPAN><SPAN style="COLOR: #008080">53</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>ArrDotList&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">split</SPAN><SPAN style="COLOR: #000000">(ArrAll(</SPAN><SPAN style="COLOR: #000000">0</SPAN><SPAN style="COLOR: #000000">),</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">,</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">)<BR></SPAN><SPAN style="COLOR: #008080">54</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>ArrWordList&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">split</SPAN><SPAN style="COLOR: #000000">(ArrAll(</SPAN><SPAN style="COLOR: #000000">1</SPAN><SPAN style="COLOR: #000000">),</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">,</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">)<BR></SPAN><SPAN style="COLOR: #008080">55</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>StrLenList&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">""</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">56</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080">57</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">for</SPAN><SPAN style="COLOR: #000000">&nbsp;i</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">0</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">to</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">ubound</SPAN><SPAN style="COLOR: #000000">(ArrDotList)<BR></SPAN><SPAN style="COLOR: #008080">58</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;StrLenList&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;StrLenList&nbsp;</SPAN><SPAN style="COLOR: #000000">&amp;</SPAN><SPAN style="COLOR: #000000">&nbsp;GetPos(ArrDotList(i),ArrWordList(i))<BR></SPAN><SPAN style="COLOR: #008080">59</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">next</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">60</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #008000">'</SPAN><SPAN style="COLOR: #008000">response.write&nbsp;StrLenList&nbsp;&amp;&nbsp;"&lt;br&gt;"</SPAN><SPAN style="COLOR: #008000"><BR></SPAN><SPAN style="COLOR: #008080">61</SPAN><SPAN style="COLOR: #008000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #000000">StrLenList&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">left</SPAN><SPAN style="COLOR: #000000">(StrLenList,</SPAN><SPAN style="COLOR: #0000ff">len</SPAN><SPAN style="COLOR: #000000">(StrLenList)</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">1</SPAN><SPAN style="COLOR: #000000">)<BR></SPAN><SPAN style="COLOR: #008080">62</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>StrLenList&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">right</SPAN><SPAN style="COLOR: #000000">(StrLenList,</SPAN><SPAN style="COLOR: #0000ff">len</SPAN><SPAN style="COLOR: #000000">(StrLenList)</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">1</SPAN><SPAN style="COLOR: #000000">)<BR></SPAN><SPAN style="COLOR: #008080">63</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicat