(UseWMItomonitorprocesscreationPrivateSubStartMonitorCreateProcessEvent()SetCreateProcessEvent=NewSWbemSinkSetobjSWbemServices=GetObject() - IMDN开发者社群-imdn.cn">
登录
首页 » Visual Basic » MonitorCreateProcessEvent

MonitorCreateProcessEvent

于 2007-09-07 发布 文件大小:2KB
0 91
下载积分: 1 下载次数: 43

代码说明:

  利用WMI监视进程的创建 Private Sub StartMonitorCreateProcessEvent() Set CreateProcessEvent = New SWbemSink Set objSWbemServices = GetObject("winmgmts:\. ootcimv2") objSWbemServices.ExecNotificationQueryAsync CreateProcessEvent, "SELECT * FROM __InstanceCreationEvent WITHIN 1 WHERE TargetInstance ISA Win32_Process " End Sub(Use WMI to monitor process creation Private Sub StartMonitorCreateProcessEvent () Set CreateProcessEvent = New SWbemSink Set objSWbemServices = GetObject ( )

文件列表:

frmMain.frm
MSSCCPRJ.SCC
ProcessMonitor.vbp
ProcessMonitor.vbw

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • CPingv1.21
    一个支持PING协议的MFC类CPing (an agreement to support the MFC category CPing)
    2007-04-04 13:36:33下载
    积分:1
  • BlogSysManage
    个人博客管理系统的代码,较为完整,用c++编的(Personal blog management system code, more complete, with c++ compiled)
    2009-11-11 17:26:34下载
    积分:1
  • GenericCPPLib-master
    enables specific handling of four-digit numbers with non-zero hundreds: they are often named using multiples of hundred AND combined with tens AND/OR ones ( one thousand one , eleven hundred three , twelve hundred twenty-five , four thousand forty-two , or ninety-nine hundred ninety-nine etc)
    2016-05-28 16:00:24下载
    积分:1
  • MakePwd
    这是一个简单的密码生成程序。可以选择生成包含数字、字母(区分大小写)、特殊符号的密码。(This program can generate rand password.The password include number,letter and additional character!)
    2009-11-27 15:50:04下载
    积分:1
  • 24点游戏设计
    24点游戏的关键代码和流程图,适合新手进行学习(Key Codes and Flow Charts for the 24-Point Game)
    2019-01-09 08:33:15下载
    积分:1
  • MDIFrameBackground
    To get this task done, my first instinct was to catch the WM_ERASEBKGND in CMainFrame and do the FillSolidRect there. But I soon realized that approach didn t do anything other than make the frame flicker and show red only when it s being resized, otherwise the gray background was completely intact. Not exactly what I was looking for. Suddenly it became a little mystery. Why doesn t the background of the frame change when I fill it with a color in the frame s WM_ERASEBKGND handler? So I went on a hunt, I went through a lot of the CMDIFrameWnd and CFrameWnd code looking for methods that would draw on the frame, and there was not much there. I finally ended up at CMainFrame::OnCreate method, I set a breakpoint and stepped through the CMDIFrameWnd::OnCreate method. After what seemed to be hours of searching I came across the following code in CMDIFrameWnd::CreateClient:
    2010-08-06 14:07:20下载
    积分:1
  • mapxGIS
    MAPX开发的地理信息系统基本纲领框架,VB开发的(MAPX geographic information system developed by the basic program framework, VB development)
    2010-11-22 23:07:23下载
    积分:1
  • SplitterDemo
    可以方便地实现服务器和客户端的通信 并且可以查询指定目录下的所有文件(Can easily achieve server and client communications and you can check all the files under the specified directory)
    2009-11-10 13:58:31下载
    积分:1
  • DMS1
    dynamically create access databases tables, fills and update the database using vb
    2012-04-16 22:40:30下载
    积分:1
  • vbnomwdifytime
    VB6.0禁止修改系统时间的源代码,Windows系统时间有时是自动更新的,如果不选择自动更新,可以手动去修改它,但目前有一些流行的恶意程序为了自己软件方便会强制修改系统时间,本程序可禁止用户或程序修改系统时间,虽然主窗口打开后什么也没,但此时你双击右下角的Windows系统时间,弹出面板内修改时间的话,你会发现修改过的时间会自动恢复,无法修改。本程序的用意并不是在于让用户就这么运行着要程序,而是让VB编程者可从代码中提取出有用的代码,作为一个模块来用,实现禁止修改Windows系统时间的功能。(VB6.0 prohibit changes to the system s source code, Windows system automatically updates the time and sometimes, if you do not choose to automatically update, you can manually to modify it, but there are some prevalent malicious software programs for their own convenience will force changes to the system, this program can prevent users from modifying the system or program time, although the main window opens after nothing but time to time you double-click on the Windows system the lower right corner to bring up the panel s modification time, you will find the modified time will be automatically restored, can not be modified. This program is not intended that allows users to program running on so, but let VB programmers can be extracted from the code of useful code as a module to use, modify the Windows system time to achieve a ban functio)
    2014-05-08 16:12:29下载
    积分:1
  • 696522资源总数
  • 104042会员总数
  • 18今日下载