How can i make the program search through the registry, and when it finds the key, it deletes it??
Printable View
How can i make the program search through the registry, and when it finds the key, it deletes it??
Do a search in this forum on "RegEnumValue"
It is an API call that produces a list of keys given a particular key value.
You can use it (with heavy modification) to scan through each key and recursively search for another one until it found the one you are after and delete it.
But I would be very wary of doing this... as some keys exist in areas like the class id's that really shouldn't be touched or they will bring your system down
well I know what keys I am deleting...
Sacofjoea
Take a look at http://www.vb-world.net/articles/registry2/
That explain a lot of function to exploit the registry.