• 博客园logo
  • 会员
  • 周边
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
Sharon
Remember our Love --->_<---
博客园    首页    新随笔    联系   管理    订阅  订阅
2013年1月16日
查看 IE 版本 和 Enable IE Security configuration and compatibility
摘要: /// <summary> /// SetIECompatibilityView /// </summary> public static void SetIECompatibilityView() { try { RegistryKey key = Registry.CurrentUser; RegistryKey software = key.OpenSubKey(@"Software\Microsoft\Internet Expl... 阅读全文
posted @ 2013-01-16 16:18 Hily 阅读(421) 评论(0) 推荐(0)
2012年12月6日
启动和停止一个服务,修改服务的启动类型 Start and Stop Service for windows
摘要: public void PreTest() { SetServiceLaunch(); //修改服务的启动类型 ServiceController sc = new ServiceController("GFIProxy"); if ((sc.Status.Equals(ServiceControllerStatus.Stopped)) || (sc.Status.Equals(ServiceControllerStatus.StopPending))) { sc.Start(); //启动服务 } } public void PostTest() { SetService 阅读全文
posted @ 2012-12-06 11:12 Hily 阅读(363) 评论(0) 推荐(0)
读取XML 文件 - Read xml file
摘要: public string getReproTid() { string path = AppcompatExtend.AppcompatExtend.ProgramFiles + @"\GFI\WebMonitor\Data\Reports.xml"; // file path if (!File.Exists(path)) { path = AppcompatExtend.AppcompatExtend.ProgramFilesX86 + @"\GFI\WebMonitor\Data\Reports.xml"; } XmlDocument doc = 阅读全文
posted @ 2012-12-06 11:08 Hily 阅读(308) 评论(0) 推荐(0)
2011年9月14日
How to create a Demo for bug — 如何创建一个Demo 去验证BUG
摘要: 今天终于在工作中看到了传说中的bug Demo.Not normal step:1. Use lmf command in windbg to see the application type, if it is contain UIA then this is WPF application.2. Use vs2010 to new wpf project, then realize this function.Normal step:1. Use reflactor tool to see the bug spoint, this is very diffcult for us.2.Rea 阅读全文
posted @ 2011-09-14 14:04 Hily 阅读(234) 评论(0) 推荐(0)
2011年9月13日
第一天上班有点不爽
摘要: 中秋过后的第一天上班,很不爽,感觉之前做的都是0,没有一点的成就感,如何提高BUG的质量,对我而言还真是一个问题。我相信时间会证明一切的,全靠自己的努力,加油!!计划安排:1.看.net 高级调试 30分钟2. English 30分钟每天都要完成,努力的提高自己,相信笨鸟先飞的道理。 阅读全文
posted @ 2011-09-13 10:12 Hily 阅读(113) 评论(0) 推荐(0)
2011年9月6日
Set Default Printer use C# code( 利用C# 代码设置默认的打印机)
摘要: //set default printer function public void setDefaultPrint() { ManagementObjectSearcher query; ManagementObjectCollection queryCollection; string classname = "SELECT * FROM Win32_Printer"; query = new ManagementObjectSearcher(classnam... 阅读全文
posted @ 2011-09-06 14:30 Hily 阅读(468) 评论(0) 推荐(0)
2011年9月2日
当程序出现问题但此程序不是.exe程序是,不能使用Windbg进行debug时的解决方法:如xcopy,xbap 程序
摘要: 两个方法:1. 使用windbg启动之后用F6, attach process到windbg 2. 修改注册表 把未知的扩展名关联到windbg关于第二种方法解释: 阅读全文
posted @ 2011-09-02 17:23 Hily 阅读(145) 评论(0) 推荐(0)
2011年8月1日
Add Auto Login computer by Registy(自动登陆计算机通过增加注册表键值方法)
摘要: Reg add "HKEY_LOCAL_MACHINE\SOFtware\Microsoft\Windows Nt\CurrentVersion\Winlogon" /v AutoAdminlogon /d "1" /fReg add "HKEY_LOCAL_MACHINE\SOFtware\Microsoft\Windows Nt\CurrentVersion\Winlogon" /v DefaultDomainName /d "DomainName" /fReg add "HKEY_LOCAL_MAC 阅读全文
posted @ 2011-08-01 17:27 Hily 阅读(469) 评论(0) 推荐(0)
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3