How to perform a registry search?
Posted on 2001-08-31
Is there any way in VB6 to perform a registry search, the same way I can do that with regedit?
What I need is to search for values only(things that appear in the right pane of regedit), and to get all values that match the search as an array(but together with the full key name, not the values only). Also to get partial matches, like if I'm searching for 'abcde' to get also '1abcde' or 'abcdef'.
It would be nice if I can define the search area, like to search for example under HKEY_LOCAL_MACHINE only, not the entire registry.
I need a solution that will work on all windows versions(except 3.x and NT4 sp3 or below)