![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C#
文章平均质量分 77
gdaswater
这个作者很懒,什么都没留下…
展开
-
C#获得主机相关信息
source: click here C#获得主机相关信息 #region 获得主机相关信息 // 得到主板序列号 private string GetMotherBoardSerialNumber() { string SerialNumber = ""; ManagementCl原创 2010-01-15 16:57:00 · 642 阅读 · 0 评论 -
Recommended Tags for Documentation Comments (C# Programming Guide)
SOURCE: CLICK HERERecommended Tags for Documentation Comments (C# Programming Guide)The C# compiler reads documentation comments in your code and formats them as XML into a file whose na转载 2010-03-16 20:04:00 · 544 阅读 · 0 评论 -
MD5生成函数
souce: if you know, please tell me. thanks! using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;usi转载 2010-03-18 18:24:00 · 522 阅读 · 0 评论 -
get hardware information using c#
source: click here getHDInfo.Computer server1 = websites.getHDInfo.Computer.Instance(); //get a new computer instance. //--------------------------------------------转载 2010-03-18 18:32:00 · 740 阅读 · 0 评论 -
VS编辑器中显示列标志线
source: click here. thanks to the author saraford! Update 12/2/2004: Uploaded an image from Visual Studio 2005 Beta. Note the image below shows guidelines at column numbers 5 and 30, but the re原创 2010-03-27 01:41:00 · 1694 阅读 · 0 评论 -
c#注释方式
C#使用传统的C风格的注释方式,即: 单行注释:// ... 多行注释:/ * ... * / 除了C风格的注释外,C#还可以根据特定的注释自动创建XML格式的文档说明。这些注释都是单行注释,但都以3个斜杠 /// 开头,而不是通常的两个斜杠。在这些注释中,可以把包含类型和类型成员的文档说明的XML标识符放在代码中。转载 2010-08-26 08:06:00 · 4947 阅读 · 0 评论 -
Why is VS development not supported with multiple versions of Office
click here First, the Office client apps are COM-based. Normal COM activation relies on the registry. COM registration is a "last one wins" model. That is, you can have multiple versions of a C原创 2011-06-16 11:11:00 · 663 阅读 · 0 评论 -
Unable to cast COM object of type 'Word.ApplicationClass' to interface type 'Word._Application'"
由于Visula studio 2010 的VSTO 只支持office2010和2007,所以若想通过VSTO操作office 2003组件,须另辟途径。 引起此错误的主要原因,是当前正在使用office2003,但曾经装过office2007 或 office2010,并且引用了office2003的互操作COM组件。因为装过2007或2010,导致对应的office assembly原创 2011-06-15 16:18:00 · 9732 阅读 · 0 评论