[Visual Studio 2010]如何解决错误CoClass 'xx' can be used only as one of its applicable interfaces
摘要:当在程序中使用COM组件的coclass时候,会遇到“CoClass 'xx' can be used only as one of its applicable interfaces”的错误。比如在使用Excel的时候使用如下的代码:using Excel = Microsoft.Office.Interop.Excel;Excel.Application excelAp...
阅读全文
posted @
2010-01-20 14:32
gracestoney
阅读(265)
推荐(0)
用VS 2008 打开VS 2010 .NET 3.5 项目
摘要:【问题】用VS 2008 打开VS 2010 .NET 3.5 项目时会遇到如下的错误:提示说:你要打开的解决方案由更高版本的应用程序创建,不能打开。【解决】用Notepad打开你的*.sln文件,可以看到文件头部包含了VS2010的信息,相应地改成2008的即可=》
阅读全文
posted @
2010-01-16 18:33
gracestoney
阅读(1652)
推荐(0)
Google docs支持上传任何文档包括pdf...Cool!
摘要:今早起来两个小发现。 1. Google docs支持上传任何文档包括pdf...Cool!立马上传了一个pdf体验下,其他格式的文档没试过,因为我比较关心pdf 来个截图 2. 发现Opera可以同步手机和PC的收藏夹,立马在PC和手机上装了Opera,导入IE 收藏夹,并用Opera link同步到我的手机里面去。很Cool,下次可以用手机打开常用链接啦。
阅读全文
posted @
2010-01-16 11:48
gracestoney
阅读(355)
推荐(0)
[Visual Studio 2010 Beta 2] 使用Help Library manager 下载.Net Framework等 文档
摘要:具体步骤如下:1. Help =》 Manage help settings 2. 打开Help library manager 之后第一次会让你选择放offline help文档的地址。 这里,我选择了“I want to use offline help”(我要使用离线文档),位置为我的F盘 VShelp文件夹下面。3. 打开help library manager之后...
阅读全文
posted @
2010-01-10 11:24
gracestoney
阅读(2544)
推荐(0)
A tool for enabling VMQ in Windows 2008 R2 machine.
摘要:什么是VMQ:全称为Virtual Machine Queue,虚拟机队列 (VMQ)。是Windows 2008 R2提供的一个网络优化功能。支持 VMQ 功能的网络适配器能够为各个虚拟网络适配器创建唯一的网络队列,然后将队列直接连接到虚拟机的内存。此连接可以将数据包直接从系统管理程序发送到虚拟机,跳过虚拟化堆栈中的多个处理。不过因为目前只有Intel才能提供支持VMQ的硬件,所以默认也是禁用的...
阅读全文
posted @
2010-01-04 16:05
gracestoney
阅读(684)
推荐(0)
Release COM object
摘要:参考:http://msdn.microsoft.com/en-us/library/system.runtime.interopservices.marshal.releasecomobject.aspxThis method is used to explicitly control the lifetime of a COM object used from managed code. Yo...
阅读全文
posted @
2010-01-04 15:11
gracestoney
阅读(479)
推荐(0)
Create new test cases
摘要:As a summary, there are three ways to create new test cases.1. According to the test spec. 2. According to the product code, logic in product code. (Guess this can be treated as white test)3. Abstract...
阅读全文
posted @
2010-01-04 15:03
gracestoney
阅读(156)
推荐(0)