1

I need to do some monitoring in the registry. For instance, toolbars like to add keys to HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Wow6432Node\CLSID and the like. They have unique IDs, and I can catch them by that. I've been doing some searching for such a thing. I've only come across articles not written in VB. Things like this.

It's really old, and converters I've found don't seem to be working. Is there anything current, in VB, that does for what I'm looking (something like FileSystemWatcher that I asked about just a day or so ago)?

1 Answer 1

2

Neither Microsoft.Win32.Registry or RegistryKey types has any registry change watching support.

Therefore you can use:

Both of these will require some work.

However if you want to do this to see what other software is doing to the registry there are existing tools to do this. Perhaps the best known is Sysinternal's (now part of Microsoft) Process Monitor. It will monitor file and registry operations (plus some other things) will powerful filtering and highlighting options.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.