Hi, all........ I'm wondering if there's any way to monitor whatever changes happens in Windows Registry. I'd like to develop a simple application which monitors registry changes using Visual Basic 2005. Can anyone tell me how to do it? Thanx in advance.
-
-
Don't reinvent the wheel!
Use SysInternals ProcessMonitor:-
http://www.microsoft.com/technet/sysinternals/utilities/processmonitor.mspx -
If you need it in your own code: this is a class for .NET that monitors the registry.
I have been writing my own right now, but when I searched for "RegNotifyChangeKeyValue" (which does the monitoring) the third result entry was a link to the class that I linked above... No need to reinvent the wheel again!
-
I already downloaded source code for the class and read the sample code. There's this line: "objMonitor.RegChanged += New EventHandler........" But why can't the Intellisense display the RegChanged event in my application? I opened the RegistryUtils class and looked at the RegChanged Event. It was declared as Protected and I changed it to Public declaration. But things just went the same, I still can't display the RegChanged event when I hit Ctrl+Space after the object name. What did I do wrong?
-
Is the delegate for the event still protected or private?
-
Have you tried using logarithms?littleguru said:Is the delegate for the event still protected or private?
-
o_OTartley said:
Have you tried using logarithms?littleguru said:*snip*
Thread Closed
This thread is kinda stale and has been closed but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.