【VB】监视进程
—— 发布于 2016-11-08 18:37:00
> **程序代码** ``` Private Sub Timer1_Timer() Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\\.\root\cimv2") Set colPr...
记录生活 · 沉淀技术 · 独立思考
> **程序代码** ``` Private Sub Timer1_Timer() Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\\.\root\cimv2") Set colPr...
> **程序代码** ```vb Private Sub Command1_Click() Me.Caption = 获取北京时间() End Sub...
> **程序代码** ``` Private Sub Form_Load()'调用方法 Me.Caption = HashFile("C:\windows...
> **程序代码** ``` Private Sub Command1_Click() Shell "shutdown -l" ...
> **程序代码** ``` Private Sub Text1_KeyPress(KeyAscii As Integer) '键盘输入事件 Dim a...
> **程序代码** ``` Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey...
> **程序代码** ``` '以下代码放在模块里 Public Declare Function PostMessage Lib "user32" Alias...
> **程序代码** ``` Private Declare Function GetParent Lib "user32" (ByVal hwnd As Lon...
> **程序代码** ```vb Private Declare Function GetWindowThreadProcessId Lib "user32" (...
> **程序代码** ``` Private Sub Command1_Click() Set objWMIService = GetObject("winmg...