robbie 的个人资料Gone with the Wind照片日志列表 工具 帮助
3月9日

Enjoy FingerPrint

最近,鸟枪换炮了, 换了台 Compaq nc6400 Laptop.
装HP的Security Manager for ProtectTools 时, 报错说no permission for "CreateKetSet", connect system administrator.
因为装不上security manager for protecttools, 就不能玩指纹识别登录了, 所以稍微研究了一下,
发现原因是其他安全程序替换了MachineKeys 的访问权限, 可以通过修改MachineKeys 的访问权限的搞定
标准路径是:
C:\Documents and Settings\All Users\Application Data\Microsoft\Crypto\RSA\MachineKeys
 
 
 
 

JavaScript彻底隐藏你HTML网页的源代码

<html>
<head>
<script>
function clear() {
Source=document.body.firstChild.data;
document.open();
document.close();
document.body.innerHTML=Source;
}
</script>
</head>
<body onload=clear()>
<!--
<div align=center>呵呵,现在试试能否看到我的源代码?
</div>
-->
</body>
</html>

删除、添加Windows Live Messenger的共享目录

 
添加 regsvr32 "E:\Program Files\MSN Messenger\fsshext.8.0.****.dll"
删除 regsvr32 -u "E:\Program Files\MSN Messenger\fsshext.8.0.****.dll"
6月10日

杀死进程

用法:开个cmd.exe窗口,输入:ntsd -c q -p PID
 
只有System、SMSS.EXE和CSRSS.EXE不能杀。
前两个是纯内核态的,最后那个是Win32子系统,ntsd本身需要它。ntsd从2000开始就是系统自带的用户态调试工具。被调试器附着(attach)的进程会随调试器一起退出,所以可以用来在命令行下终止进程。使用ntsd自动就获得了debug权限,从而能杀掉大部分的进程。ntsd会新开一个调试窗口,本来在纯命令行下无法控制,但如果只是简单的命令,比如退出(q),用-c参数从命令行传递就行了。NtsdNtsd 按照惯例也向软件开发人员提供。只有系统开发人员使用此命令。有关详细信息,请参阅 NTSD 中所附的帮助文件。


  

3月30日

What's New in .Net 2.0 (1)

Google Search Macro in VS2003 
 
Public Module Search
    Sub GoogleSearch()
        Dim strUrl As String
        Dim selection As TextSelection = DTE.ActiveDocument.Selection()
        If (Not selection Is System.DBNull.Value) And (selection.Text <> "") Then
            strUrl = "www.google.com/search?q=" + selection.Text
            DTE.ExecuteCommand("View.URL", strUrl)
        Else
            MsgBox("Select Text first to Search")
        End If
    End Sub
End Module
 
Google Search Macro in VS2005
 
Public Module Search
    Sub GoogleSearch()
        Dim strUrl As String
        Dim selection As TextSelection = DTE.ActiveDocument.Selection()
        If Not String.IsNullOrEmpty(selection.Text) Then
            strUrl = "www.google.com/search?q=" + selection.Text
            DTE.ExecuteCommand("View.WebBrowser", strUrl)
        Else
            MsgBox("Select Text first to Search")
        End If
    End Sub
End Module 
 

Gone with the Wind

第 1 张,共 7 张