<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href='http://feeds.feedsky.com/styles/temp01.xsl' type='text/xsl' ?><!--这是一个由Feedsy提供技术支持的Feed，为了提高读者阅读的体验，以及满足用户美化自己Feed的需要，我们设计了多种精美的Feed模板，提供给大家选择，所有最终呈现出来的样式，皆由用户自愿选择使用，未经许可，任何团体和个人，请不要擅自修改样式或者盗用，这是对于用户选择权的尊重。--><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:fs="http://www.feedsky.com/namespace/feed" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link href="http://feeds.feedsky.com/csdn.net/chx328" type="application/rss+xml" rel="self"></atom:link><fs:self_link href="http://feeds.feedsky.com/csdn.net/chx328" type="application/rss+xml"></fs:self_link><lastBuildDate>Sat, 26 Jun 2010 12:17:00 GMT</lastBuildDate><title>Rich Chen的博客</title><description>CSDN博客聚合服务</description><link>http://blog.csdn.net/blogrss.aspx?username=chx328</link><item><title>C# 如何实现软件自动在线升级</title><link>http://blog.csdn.net/chx328/archive/2010/06/26/5696460.aspx</link><description> 本文针对目前C/S模式下编写的应用程序可维护性差的特点，提出了一套自动在线升级的解决方案，分析了在线升级的困难及实现原理，并给出了实现升级的部分代码，具有实际参考价值和现实意义。本文程序代码均在.Net Framework 1.1 和Windows2000下测试通过。 &lt;br /&gt;&lt;br /&gt;1 前言 &lt;br /&gt;&lt;br /&gt;　长期以来，广大程序员为到底是使用Client/Server，还是使用Browser/Server结构争论不休，在这些争论当中,C/S结构的程序可维护性差，布置困难，升级不方便，维护成本高就是一个相当重要的因素。有很多企业用户就是因为这个原因而放弃使用C/S。然而当一个应用必须要使用C/S结构才能很好的实现其功能的时候，我们该如何解决客户端的部署与自动升级问题？部署很简单，只要点击安装程序即可，难的在于每当有新版本发布时，能够实现自动升级[3]。现在好了，我们的目标很简单，我们希望开发一个与具体应用无关的能够复用的自动升级系统。下面我为大家提供了一套可复用的用C#编写的自动升级系统。 &lt;br /&gt;&lt;br /&gt;2 实现软件的自动升级存在的困难 &lt;br /&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/383847773/chx328/csdn.net/s.gif?r=http://blog.csdn.net/chx328/archive/2010/06/26/5696460.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/chx328/383847773/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/chx328/383847773/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Sat, 26 Jun 2010 20:17:00 +0800</pubDate><author>chx328</author><guid isPermaLink="false">http://blog.csdn.net/chx328/archive/2010/06/26/5696460.aspx</guid><dc:creator>chx328</dc:creator><fs:srclink>http://blog.csdn.net/chx328/archive/2010/06/26/5696460.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/chx328/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/chx328/~1088347/383847773/1088346</fs:itemid></item><item><title>使用互斥体Mutex 实现应用程序只有一个实例运行</title><link>http://blog.csdn.net/chx328/archive/2010/06/26/5696445.aspx</link><description>[STAThread]&lt;br /&gt;    public static void Main(string[] args) &lt;br /&gt;    {&lt;br /&gt;         //声明互斥体。&lt;br /&gt;         Mutex mutex = new Mutex(false, &quot;ThisShouldOnlyRunOnce&quot;);&lt;br /&gt;         //判断互斥体是否使用中。&lt;br /&gt;         bool Running = !mutex.WaitOne(0, false);&lt;br /&gt;         if (! Running)&lt;br /&gt;             Application.Run(new FormLogin());&lt;br /&gt;         else&lt;br /&gt;             MessageBox.Show(&quot;应用程序已经启动！&quot;);&lt;br /&gt;    }&lt;img src=&quot;http://www1.feedsky.com/t1/383846962/chx328/csdn.net/s.gif?r=http://blog.csdn.net/chx328/archive/2010/06/26/5696445.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/chx328/383846962/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/chx328/383846962/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Sat, 26 Jun 2010 20:06:00 +0800</pubDate><author>chx328</author><guid isPermaLink="false">http://blog.csdn.net/chx328/archive/2010/06/26/5696445.aspx</guid><dc:creator>chx328</dc:creator><fs:srclink>http://blog.csdn.net/chx328/archive/2010/06/26/5696445.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/chx328/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/chx328/~1088347/383846962/1088346</fs:itemid></item><item><title>C# 试用软件的使用次数</title><link>http://blog.csdn.net/chx328/archive/2010/06/26/5696406.aspx</link><description>在软件推广的时候，经常先让用户试用一定的次数，如果超过试用的次数，则不允许再试用本软件，这样的程序可以通过将软件的试用次数写入注册表来实现。下面的示例实现了如果用户使用本程序超过30次，则不允许用户使用，并提示用户进行注册。 　　其设计原理是：首先判断在注册表指定的位置处是否建立了限制软件试用次数的数据项，如果该数据项存在，则使用Registry类的GetValue函数读取“使用次数”，然后用Registry类的SetValue函数设置“使用次数”为读取的“使用次数”加1；如果该数据项不存在，则使用Registry类的SetValue函数设置“使用次数”为1。&lt;img src=&quot;http://www1.feedsky.com/t1/383845888/chx328/csdn.net/s.gif?r=http://blog.csdn.net/chx328/archive/2010/06/26/5696406.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/chx328/383845888/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/chx328/383845888/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Sat, 26 Jun 2010 19:53:00 +0800</pubDate><author>chx328</author><guid isPermaLink="false">http://blog.csdn.net/chx328/archive/2010/06/26/5696406.aspx</guid><dc:creator>chx328</dc:creator><fs:srclink>http://blog.csdn.net/chx328/archive/2010/06/26/5696406.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/chx328/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/chx328/~1088347/383845888/1088346</fs:itemid></item><item><title>javascript 获取滚动条高度</title><link>http://blog.csdn.net/chx328/archive/2007/11/29/1907118.aspx</link><description>javascript 获取滚动条高度&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/chx328/383845889/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/chx328/383845889/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Thu, 29 Nov 2007 14:15:00 +0800</pubDate><author>chx328</author><guid isPermaLink="false">http://blog.csdn.net/chx328/archive/2007/11/29/1907118.aspx</guid><dc:creator>chx328</dc:creator><fs:srclink>http://blog.csdn.net/chx328/archive/2007/11/29/1907118.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/chx328/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/chx328/~1088347/383845889/1088346</fs:itemid></item><item><title>javascript 获取鼠标坐标</title><link>http://blog.csdn.net/chx328/archive/2007/11/29/1907108.aspx</link><description>javascript 坐标定位&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/chx328/383845890/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/chx328/383845890/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Thu, 29 Nov 2007 14:10:00 +0800</pubDate><author>chx328</author><guid isPermaLink="false">http://blog.csdn.net/chx328/archive/2007/11/29/1907108.aspx</guid><dc:creator>chx328</dc:creator><fs:srclink>http://blog.csdn.net/chx328/archive/2007/11/29/1907108.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/chx328/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/chx328/~1088347/383845890/1088346</fs:itemid></item><item><title>MSDN: ASP.NET 2.0：弃用 DataGrid 吧，有新的网格控件了！</title><link>http://blog.csdn.net/chx328/archive/2006/03/12/622347.aspx</link><description>MSDN: ASP.NET 2.0：弃用 DataGrid 吧，有新的网格控件了！&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/chx328/383845891/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/chx328/383845891/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Sun, 12 Mar 2006 13:36:00 +0800</pubDate><author>chx328</author><guid isPermaLink="false">http://blog.csdn.net/chx328/archive/2006/03/12/622347.aspx</guid><dc:creator>chx328</dc:creator><fs:srclink>http://blog.csdn.net/chx328/archive/2006/03/12/622347.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/chx328/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/chx328/~1088347/383845891/1088346</fs:itemid></item><item><title>记录ASP.NET</title><link>http://blog.csdn.net/chx328/archive/2006/03/09/619984.aspx</link><description>记录下学习ASP.NET过程中的点滴...&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/chx328/383845892/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/chx328/383845892/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Thu, 09 Mar 2006 17:35:00 +0800</pubDate><author>chx328</author><guid isPermaLink="false">http://blog.csdn.net/chx328/archive/2006/03/09/619984.aspx</guid><dc:creator>chx328</dc:creator><fs:srclink>http://blog.csdn.net/chx328/archive/2006/03/09/619984.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/chx328/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/chx328/~1088347/383845892/1088346</fs:itemid></item><item><title>ASP空间设置不同域名到不同目录的方法</title><link>http://blog.csdn.net/chx328/archive/2006/01/14/579421.aspx</link><description>在虚拟主机的空间越来越大了，一般的情况下，一个网站是用不完的.
现在你就可以使用象&quot;http://www.abc1.com&quot;、……、&quot;http://www.abcN.com&quot;这类顶级的网址来访问同一个WEB空间，而得到各不相同的首页面了&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/chx328/383845893/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/chx328/383845893/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Sat, 14 Jan 2006 17:06:00 +0800</pubDate><author>chx328</author><guid isPermaLink="false">http://blog.csdn.net/chx328/archive/2006/01/14/579421.aspx</guid><dc:creator>chx328</dc:creator><fs:srclink>http://blog.csdn.net/chx328/archive/2006/01/14/579421.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/chx328/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/chx328/~1088347/383845893/1088346</fs:itemid></item><item><title>去掉内容中的所有html标签</title><link>http://blog.csdn.net/chx328/archive/2006/01/14/579408.aspx</link><description>摘要：VBS、JS，ASP没有这样的函数，能够一次性将所有的html标签去掉，只剩下普通文本，本文给出了一段简短的代码来实现上述功能。（正则表达式）&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/chx328/383845894/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/chx328/383845894/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Sat, 14 Jan 2006 17:00:00 +0800</pubDate><author>chx328</author><guid isPermaLink="false">http://blog.csdn.net/chx328/archive/2006/01/14/579408.aspx</guid><dc:creator>chx328</dc:creator><fs:srclink>http://blog.csdn.net/chx328/archive/2006/01/14/579408.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/chx328/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/chx328/~1088347/383845894/1088346</fs:itemid></item></channel></rss>
