摘要: 源代码在github上可以下载: https://github.com/chenxu7601257/UIAutomation UIAutomation是微软从Windows Vista开始推出的一套全新UI自动化测试技术, 简称UIA。在最新的Windows SDK中,UIA和MSAA等其它支持UI 阅读全文
posted @ 2015-07-17 21:27 五月℃夏到了 阅读(1903) 评论(1) 推荐(0) 编辑
摘要: 源文章:http://www.codeproject.com/Articles/7859/Building-COM-Objects-in-C如果大家需要的话 我准备翻译为中文,看大家的反馈情况。如果不需要就仅供我参考啦。The topics covered in this article are:Creating a simple COM object in C# (use the COM Interop property).Accessing the COM from a VC++ client. (I have tested it with VC++6.0 and VC++ .NET). 阅读全文
posted @ 2013-10-10 16:56 五月℃夏到了 阅读(266) 评论(0) 推荐(0) 编辑
摘要: 非常感谢大家的分享 该文转自http://www.cnblogs.com/artech/archive/2007/02/26/656901.html刚刚按照上面的讲述实现了一遍,将代码附上供下载学习。下载地址非常感谢大家的分享 该文转自http://www.cnblogs.com/artech/archive/2007/02/26/656901.html刚刚按照上面的讲述实现了一遍,将代码附上供下载学习。下载地址 阅读全文
posted @ 2013-08-01 14:58 五月℃夏到了 阅读(707) 评论(1) 推荐(2) 编辑
摘要: I am running on windows xp sp3 and when I converted my 2010 project and tried to compile I get the following error:Error1The "GenerateResource" task failed unexpectedly.System.DllNotFoundException: Unable to load DLL 'FileTracker.dll': A dynamic link library (DLL) initialization ro 阅读全文
posted @ 2013-07-11 16:41 五月℃夏到了 阅读(581) 评论(0) 推荐(0) 编辑
摘要: 先保存下 然后慢慢研究<script type="text/javascript"> var pb_strConfirmCloseMessage; var pb_blnCloseWindow = false; pb_strConfirmCloseMessage = "确实要离开该页面吗?您的文章内容还没有进行保存!按“确定”继续,或按“取消”留在当前页面。"; function ConfirmClose() { window.event.returnValue = pb_strConfirmCloseMessage; pb_blnCloseW 阅读全文
posted @ 2013-06-05 15:06 五月℃夏到了 阅读(298) 评论(0) 推荐(0) 编辑
摘要: 最近项目中用到cookie,登录的时候用js写如cookie,如果设置了有效期,那么这个cookie可以用ckeadm工具查看到,而且也可以用Request.Cookie[Key]的方式获取到数据。然后如果没有设置有效期的话,js写入的cookie,无法通过Request.Cookie[Key]获取,也无法通过这个工具查看到。function addAuthenticationCookie(name, value, path) { //Authentication using minutes as unit var name = escape(name); var value = escape 阅读全文
posted @ 2013-06-05 14:28 五月℃夏到了 阅读(182) 评论(0) 推荐(1) 编辑
摘要: 浮点数在内存中的存储格式2010-10-09 11:03:28|分类:C/C++编程基础|字号订阅由一个程序开始int_tmain(intargc,_TCHAR*argv[]){floata=1.0f;//浮点数在内存中是以符号+指数+尾数保存的cout<<(int&)a<<endl;//1.0f在内存中的保存的是0x3f800000,将a地址开始的sizeof(int)个字节当做int类型的输出106535216intb=0x3f800000;cout<<b<<endl;//106535216cout<<(int)a< 阅读全文
posted @ 2013-05-30 23:13 五月℃夏到了 阅读(234) 评论(0) 推荐(0) 编辑
摘要: 删除以下路径中的sqlstudio.bin就可以了C:\Documents and settings\\Application data\Microsoft\Microsoft SQL Server\100\Tools\Shell\Sqlstudio.bin 阅读全文
posted @ 2013-05-29 20:34 五月℃夏到了 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 有很多人在使用excel的时候,会总是搞不清楚Match与Find函数的区别Match是用来查找某个数出现的相对行数,记住不是字符的位置,查找字符位置用Find,举个例子rowA13255322=MATCH(55,A1:A3,0) 结果是2 表示55在A1:A3中位于从A1开始数的第二个位置Iloveyou=FIND("you",B18,1) B18的字符串是Iloveyou上面的值是6 阅读全文
posted @ 2013-05-29 20:22 五月℃夏到了 阅读(1025) 评论(0) 推荐(0) 编辑
摘要: 以前遇到的问题,今天整理出来并保存以供之后查看。问题:Couldn't load file or assembly System.web.extentsions, version 4.0.0.0,culture=neutral, publicToken...解决办法:复制System.Web.extentions.Design.dll和System.web.extention.dll到 C:\Windows\Microsoft.NET\Framework\v2.0.50727这个文件夹下,就可以了。一般情况下,这个两个dll文件都在BIN文件夹下。 阅读全文
posted @ 2013-05-29 20:03 五月℃夏到了 阅读(371) 评论(0) 推荐(0) 编辑