<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_小柯Atlas</title><subtitle type="text"/><id>http://feed.cnblogs.com/blog/u/22947/rss</id><updated>2010-06-22T00:16:51Z</updated><author><name>小柯</name><uri>http://www.cnblogs.com/cnmawei/</uri></author><generator>feed.cnblogs.com</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/cnmawei/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/22947/rss"/><entry><id>http://www.cnblogs.com/cnmawei/archive/2010/04/17/1714250.html</id><title type="text">Enterprise Library 4.1 Configuration的使用</title><summary type="text">Enterprise Library Configuration是Enterprise Library附带的编辑App.Config的工具，安装Enterprise Library就会编译生成。使用这个工具编辑App.config时非常方便，但是也遇到一些使用上的问题。记录下来，以备后查。  问题起因：在调试的过程中，希望能够跟踪到Enterprise Library的内部，所以将Enterprise Library的Blocks中的代码加入到了自己的项目中，并在项目中引用这些组件。问题描述：使用VSTS的插件Enterprise Library Configuration编辑并保存项目的App.config。在编译时选择全部重新编译，顺利通过（中间也遇到些小麻烦，不过不是本文档的重点讨论范畴）。运行时，一旦调用到Enterprise Library的组件，便会报以下错误提示：  未能加载文件或程序集“Microsoft.Practices.EnterpriseLibrary.Data, Version=4.0.0.0, Culture=neutral,</summary><published>2010-04-17T06:37:00Z</published><updated>2010-04-17T06:37:00Z</updated><author><name>小柯</name><uri>http://www.cnblogs.com/cnmawei/</uri></author><link rel="alternate" href="http://www.cnblogs.com/cnmawei/archive/2010/04/17/1714250.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/cnmawei/archive/2010/04/17/1714250.html"/><content type="text">Enterprise Library Configuration是Enterprise Library附带的编辑App.Config的工具，安装Enterprise Library就会编译生成。使用这个工具编辑App.config时非常方便，但是也遇到一些使用上的问题。记录下来，以备后查。  问题起因：在调试的过程中，希望能够跟踪到Enterprise Library的内部，所以将Enterprise Library的Blocks中的代码加入到了自己的项目中，并在项目中引用这些组件。问题描述：使用VSTS的插件Enterprise Library Configuration编辑并保存项目的App.config。在编译时选择全部重新编译，顺利通过（中间也遇到些小麻烦，不过不是本文档的重点讨论范畴）。运行时，一旦调用到Enterprise Library的组件，便会报以下错误提示：  未能加载文件或程序集“Microsoft.Practices.EnterpriseLibrary.Data, Version=4.0.0.0, Culture=neutral,</content></entry><entry><id>http://www.cnblogs.com/cnmawei/archive/2009/09/07/1561790.html</id><title type="text">C#模仿QQ截图功能</title><summary type="text">最新接到任务需要给客户制作个能图片截取并合成编辑的小程序，研究了两天GDI+，改了段C#截图功能的代码,现贴上来希望对大家有用 主文件CaptureScreenForm.csusing System;using System.Drawing;using System.Collections;using System.ComponentModel;using System.Windows.Forms;using System.Data;using System.Runtime.InteropServices;namespace CaptureScreen{ /// /// CaptureScreenForm 的摘要说明。 /// public class CaptureScreenForm : System.Windows.Forms.Form { private System.Windows.Forms.PictureBox picbox; pr</summary><published>2009-09-07T06:14:00Z</published><updated>2009-09-07T06:14:00Z</updated><author><name>小柯</name><uri>http://www.cnblogs.com/cnmawei/</uri></author><link rel="alternate" href="http://www.cnblogs.com/cnmawei/archive/2009/09/07/1561790.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/cnmawei/archive/2009/09/07/1561790.html"/><content type="text">最新接到任务需要给客户制作个能图片截取并合成编辑的小程序，研究了两天GDI+，改了段C#截图功能的代码,现贴上来希望对大家有用 主文件CaptureScreenForm.csusing System;using System.Drawing;using System.Collections;using System.ComponentModel;using System.Windows.Forms;using System.Data;using System.Runtime.InteropServices;namespace CaptureScreen{ /// /// CaptureScreenForm 的摘要说明。 /// public class CaptureScreenForm : System.Windows.Forms.Form { private System.Windows.Forms.PictureBox picbox; pr</content></entry><entry><id>http://www.cnblogs.com/cnmawei/archive/2008/11/20/1337749.html</id><title type="text">asp.net 中 DropDownList 加入可输入功能解决方案</title><summary type="text">先把这段JS代码放到你页面的HTML中去function catch_keydown(sel) { switch(event.keyCode) {case 13: //Enter;sel.options[sel.length] = new Option("","",false,true);event.returnValue = false;break;case 27: //Esc;alert("t...</summary><published>2008-11-20T08:04:00Z</published><updated>2008-11-20T08:04:00Z</updated><author><name>小柯</name><uri>http://www.cnblogs.com/cnmawei/</uri></author><link rel="alternate" href="http://www.cnblogs.com/cnmawei/archive/2008/11/20/1337749.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/cnmawei/archive/2008/11/20/1337749.html"/><content type="text">先把这段JS代码放到你页面的HTML中去function catch_keydown(sel) { switch(event.keyCode) {case 13: //Enter;sel.options[sel.length] = new Option("","",false,true);event.returnValue = false;break;case 27: //Esc;alert("t...</content></entry><entry><id>http://www.cnblogs.com/cnmawei/archive/2008/08/13/1267223.html</id><title type="text">解决SQL Server Management Studio Express为英文的问题</title><summary type="text">SQL Server 2005 Express Edition 这个版本的 SQL Server 没有集成数据库管理工具，需要另外安装 SQL Server Management Studio 。在微软网站下载 SQL Server Management Studio Express 中文版，安装后为英文，相信有很多朋友都遇到过这个问题，莫名其妙! 解决办法如下：  之前在安装 SQL Server 2005 时，当安装到“功能选择时”要特别注意勿必将“共享工具”安装在C盘。如图：点一下“共享工具”看下面的安装路径是不是在C盘，不是的话，点“浏览”按纽更改。</summary><published>2008-08-13T10:51:00Z</published><updated>2008-08-13T10:51:00Z</updated><author><name>小柯</name><uri>http://www.cnblogs.com/cnmawei/</uri></author><link rel="alternate" href="http://www.cnblogs.com/cnmawei/archive/2008/08/13/1267223.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/cnmawei/archive/2008/08/13/1267223.html"/><content type="text">SQL Server 2005 Express Edition 这个版本的 SQL Server 没有集成数据库管理工具，需要另外安装 SQL Server Management Studio 。在微软网站下载 SQL Server Management Studio Express 中文版，安装后为英文，相信有很多朋友都遇到过这个问题，莫名其妙! 解决办法如下：  之前在安装 SQL Server 2005 时，当安装到“功能选择时”要特别注意勿必将“共享工具”安装在C盘。如图：点一下“共享工具”看下面的安装路径是不是在C盘，不是的话，点“浏览”按纽更改。</content></entry><entry><id>http://www.cnblogs.com/cnmawei/archive/2008/02/18/1072749.html</id><title type="text">Visual Studio 2008 简体中文正式版下载及序列号(无使用期限限制,正式版)</title><summary type="text">VS2008中文试用版刚出来不久就上网拖了下来可是安装的时候却出问题了。后来，Google了下，把自己遇到的问题和解决方法跟大家分享。1.让试用版变成正式版  从Microsoft那下了7个压缩文件分包后，解压后是一个ISO文件。 我用UltraISO编辑了下ISO文件：Setup--&gt;setup.sdb文件提取出来编辑，将  [Product Key]  T2CRQGDKBVW7KJR8C6CKXMW3D改成  [Product Key]  PYHYPWXB3BB2CCMV9DX9VDY8T这样，安装的时候就默认是这个正版的序列号了。</summary><published>2008-02-18T13:51:00Z</published><updated>2008-02-18T13:51:00Z</updated><author><name>小柯</name><uri>http://www.cnblogs.com/cnmawei/</uri></author><link rel="alternate" href="http://www.cnblogs.com/cnmawei/archive/2008/02/18/1072749.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/cnmawei/archive/2008/02/18/1072749.html"/><content type="text">VS2008中文试用版刚出来不久就上网拖了下来可是安装的时候却出问题了。后来，Google了下，把自己遇到的问题和解决方法跟大家分享。1.让试用版变成正式版  从Microsoft那下了7个压缩文件分包后，解压后是一个ISO文件。 我用UltraISO编辑了下ISO文件：Setup--&gt;setup.sdb文件提取出来编辑，将  [Product Key]  T2CRQGDKBVW7KJR8C6CKXMW3D改成  [Product Key]  PYHYPWXB3BB2CCMV9DX9VDY8T这样，安装的时候就默认是这个正版的序列号了。</content></entry><entry><id>http://www.cnblogs.com/cnmawei/archive/2007/11/03/948225.html</id><title type="text">程序人生－－一个程序员对学弟学妹建议（转）</title><summary type="text">我始终认为，对一个初学者来说，IT界的技术风潮是不可追赶。我时常看见自己的DDMM们把课本扔了，去卖些价格不菲的诸如C#, VB.Net 这样的大部头，这让我感到非常痛心。而许多搞不清指针是咋回事的BBS站友眉飞色舞的讨论C#里面可以不用指针等等则让我觉得好笑。C#就象当年的ASP一样，“忽如一夜春风来，千树万树梨花开”，结果许多学校的信息学院成了“Web 学院”。96,97级的不少大学生都去做Web 了。当然我没有任何歧视某一行业的意识。我只是觉得如果他们把追赶这些时髦技术的时间多花一点在基础的课程上应该是可以走得更远的。几个误区初学者对C#风潮的追赶其实也只是学习过程中经常遇到的几个误区之一。我将用一些实际的例子来说明这些现象，你可以按部就班的看看自己是不是属于其中的一种或者几种：认为计算机技术等于编程技术:有些人即使没有这个想法，在潜意识中也有这样的冲动。让我奇怪的是，许多信息学院的学生也有这样的念头。认为计算机专业就是编程专业，与编程无关的，或者不太相关课程他统统都不管，极端的学生只要书上没带“编程”两个字他</summary><published>2007-11-03T09:40:00Z</published><updated>2007-11-03T09:40:00Z</updated><author><name>小柯</name><uri>http://www.cnblogs.com/cnmawei/</uri></author><link rel="alternate" href="http://www.cnblogs.com/cnmawei/archive/2007/11/03/948225.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/cnmawei/archive/2007/11/03/948225.html"/><content type="text">我始终认为，对一个初学者来说，IT界的技术风潮是不可追赶。我时常看见自己的DDMM们把课本扔了，去卖些价格不菲的诸如C#, VB.Net 这样的大部头，这让我感到非常痛心。而许多搞不清指针是咋回事的BBS站友眉飞色舞的讨论C#里面可以不用指针等等则让我觉得好笑。C#就象当年的ASP一样，“忽如一夜春风来，千树万树梨花开”，结果许多学校的信息学院成了“Web 学院”。96,97级的不少大学生都去做Web 了。当然我没有任何歧视某一行业的意识。我只是觉得如果他们把追赶这些时髦技术的时间多花一点在基础的课程上应该是可以走得更远的。几个误区初学者对C#风潮的追赶其实也只是学习过程中经常遇到的几个误区之一。我将用一些实际的例子来说明这些现象，你可以按部就班的看看自己是不是属于其中的一种或者几种：认为计算机技术等于编程技术:有些人即使没有这个想法，在潜意识中也有这样的冲动。让我奇怪的是，许多信息学院的学生也有这样的念头。认为计算机专业就是编程专业，与编程无关的，或者不太相关课程他统统都不管，极端的学生只要书上没带“编程”两个字他</content></entry><entry><id>http://www.cnblogs.com/cnmawei/archive/2007/09/09/887420.html</id><title type="text">.NET 换肤软件 IrisSkin 2.0 破解版下载及多款皮肤下载</title><summary type="text">当前.NET下提供换肤的控件有IrisSkin和DotNetSkin。但是DotNetSkin提供的Demo版本，功能有限制，一时找不到可以破解的完全版。IrisSkin 的功能不比DotNetSkin差，而且使用简单。不需要原始文件，只需要dll文件和皮肤文件。详细信息可以在参考 东日软件 的官方网站.VS05下的破解文件下载地址如下：</summary><published>2007-09-09T06:22:00Z</published><updated>2007-09-09T06:22:00Z</updated><author><name>小柯</name><uri>http://www.cnblogs.com/cnmawei/</uri></author><link rel="alternate" href="http://www.cnblogs.com/cnmawei/archive/2007/09/09/887420.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/cnmawei/archive/2007/09/09/887420.html"/><content type="text">当前.NET下提供换肤的控件有IrisSkin和DotNetSkin。但是DotNetSkin提供的Demo版本，功能有限制，一时找不到可以破解的完全版。IrisSkin 的功能不比DotNetSkin差，而且使用简单。不需要原始文件，只需要dll文件和皮肤文件。详细信息可以在参考 东日软件 的官方网站.VS05下的破解文件下载地址如下：</content></entry><entry><id>http://www.cnblogs.com/cnmawei/archive/2007/08/11/851813.html</id><title type="text">（转）JavaScript 弹出窗口总结 </title><summary type="text">1: window.open&lt;!--window.open('page.html', 'newwindow', 'height=100, width=400, top=0,left=0, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no')//写成一行--&gt;参数解释：window.ope...</summary><published>2007-08-11T06:33:00Z</published><updated>2007-08-11T06:33:00Z</updated><author><name>小柯</name><uri>http://www.cnblogs.com/cnmawei/</uri></author><link rel="alternate" href="http://www.cnblogs.com/cnmawei/archive/2007/08/11/851813.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/cnmawei/archive/2007/08/11/851813.html"/><content type="text">1: window.open&lt;!--window.open('page.html', 'newwindow', 'height=100, width=400, top=0,left=0, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no')//写成一行--&gt;参数解释：window.ope...</content></entry><entry><id>http://www.cnblogs.com/cnmawei/archive/2007/08/11/851812.html</id><title type="text">（转）JavaScript常用判断函数（正则表达式版） </title><summary type="text">前两天从网上摘了一篇《JavaScript常用函数》的帖子，里面写了在客户端比较常用的验证函数，但是里面的函数都是利用分解字符串的方法来进行判断的，文章提交后有不少朋友提出好多函数可以用正则表达式代替。今晚上我把这些函数改成利用正则表达式进行验证，写的好不好的地方还请各位多多指教。</summary><published>2007-08-11T06:32:00Z</published><updated>2007-08-11T06:32:00Z</updated><author><name>小柯</name><uri>http://www.cnblogs.com/cnmawei/</uri></author><link rel="alternate" href="http://www.cnblogs.com/cnmawei/archive/2007/08/11/851812.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/cnmawei/archive/2007/08/11/851812.html"/><content type="text">前两天从网上摘了一篇《JavaScript常用函数》的帖子，里面写了在客户端比较常用的验证函数，但是里面的函数都是利用分解字符串的方法来进行判断的，文章提交后有不少朋友提出好多函数可以用正则表达式代替。今晚上我把这些函数改成利用正则表达式进行验证，写的好不好的地方还请各位多多指教。</content></entry><entry><id>http://www.cnblogs.com/cnmawei/archive/2007/06/18/787751.html</id><title type="text">C#中常用的经典文件操作方法</title><summary type="text">C#追加文件 StreamWriter sw = File.AppendText(Server.MapPath(".")+"\\myText.txt"); sw.WriteLine("追逐理想"); sw.WriteLine("kzlll"); sw.WriteLine(".NET笔记"); sw.Flush(); sw.Close(); C#拷贝文件 string OrignFile,NewFile; OrignFile = Server.MapPath(".")+"\\myText.txt"; NewFile = Server.MapPath(".")+"\\myTextCopy.txt"; File.Copy(OrignFile,NewFile,true); C#删除文件 string delFile = Server.MapPath(".")+"\\myTextCopy.txt"; File.Delete(delFile); &lt;</summary><published>2007-06-18T07:01:00Z</published><updated>2007-06-18T07:01:00Z</updated><author><name>小柯</name><uri>http://www.cnblogs.com/cnmawei/</uri></author><link rel="alternate" href="http://www.cnblogs.com/cnmawei/archive/2007/06/18/787751.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/cnmawei/archive/2007/06/18/787751.html"/><content type="text">C#追加文件 StreamWriter sw = File.AppendText(Server.MapPath(".")+"\\myText.txt"); sw.WriteLine("追逐理想"); sw.WriteLine("kzlll"); sw.WriteLine(".NET笔记"); sw.Flush(); sw.Close(); C#拷贝文件 string OrignFile,NewFile; OrignFile = Server.MapPath(".")+"\\myText.txt"; NewFile = Server.MapPath(".")+"\\myTextCopy.txt"; File.Copy(OrignFile,NewFile,true); C#删除文件 string delFile = Server.MapPath(".")+"\\myTextCopy.txt"; File.Delete(delFile); &lt;</content></entry></feed>
