Re: list registry keys
Posted by WAllison on May 10, 2002 at 00:09:01:
In Reply to: list registry keys posted by Stefan Loeners P12167 on May 06, 2002 at 21:12:55:
: How would I get a list of all registry keys and their values? I need for example all keys (and subkeys) under HKEY_LOCAL_MACHINE \ Software. In other words, what would a recursive search in the registry look like?
: Thank you.
Do a search for TRegistry in the help files....
anyway TRegistry comes with functions like GetKeyInfo, GetKeyNames, GetValueNames - think about it u can get all the data u need from the latter two to write a recursive function - like a file search... I haven't had any need to list the registry in part or entirity ... Thats wot Regedit is 4...
If u really struggle let me know and i might spend a bit of time on it.