Programatorul de la A la ZI Programatorul de la A la ZI V1.2 Beta - In curand se va face lansare.
 
 
 Saying that Java is nice because it works on all OSes is like saying that anal sex is nice because it works on all genders.Alanna 
 
 
Monitorizare registry - Cod Sursa
Descriere
Script ce monitorizeaza registry.

Cod     

Set wmiServices = GetObject("winmgmts:root/default") 
Set wmiSink = WScript.CreateObject("WbemScripting.SWbemSink", "SINK_")
 
wmiServices.ExecNotificationQueryAsync wmiSink, _
    "SELECT * FROM RegistryTreeChangeEvent WHERE Hive= " _
        & "''HKEY_LOCAL_MACHINE'' AND RootPath=''''"
 
 
WScript.Echo "Listening for Registry Change Events..." & vbCrLf
 
While(1)
    WScript.Sleep 1000
Wend
 
Sub SINK_OnObjectReady(wmiObject, wmiAsyncContext)
    WScript.Echo "Received Registry Change Event" & vbCrLf & _
                 "------------------------------" & vbCrLf & _
                 wmiObject.GetObjectText_()
End Sub

V1.2 Beta - In curand se va face lansare.

Copyright 2007 © . Toate drepturile rezervate .