摘要:
/// <summary> /// SetIECompatibilityView /// </summary> public static void SetIECompatibilityView() { try { RegistryKey key = Registry.CurrentUser; RegistryKey software = key.OpenSubKey(@"Software\Microsoft\Internet Expl... 阅读全文
摘要:
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 阅读全文
摘要:
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 = 阅读全文
摘要:
今天终于在工作中看到了传说中的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 阅读全文
摘要:
中秋过后的第一天上班,很不爽,感觉之前做的都是0,没有一点的成就感,如何提高BUG的质量,对我而言还真是一个问题。我相信时间会证明一切的,全靠自己的努力,加油!!计划安排:1.看.net 高级调试 30分钟2. English 30分钟每天都要完成,努力的提高自己,相信笨鸟先飞的道理。 阅读全文
摘要:
//set default printer function public void setDefaultPrint() { ManagementObjectSearcher query; ManagementObjectCollection queryCollection; string classname = "SELECT * FROM Win32_Printer"; query = new ManagementObjectSearcher(classnam... 阅读全文
摘要:
两个方法:1. 使用windbg启动之后用F6, attach process到windbg 2. 修改注册表 把未知的扩展名关联到windbg关于第二种方法解释: 阅读全文
摘要:
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 阅读全文