View Full Version : how to output registery folder names and key inside it in to listbox?


tony007
04-11-2006, 06:35 PM
Hi all .

I have a problem retrieve the usernames and Id stored in HKEY_CURRENT_USER\Software\xyz\123\

usernames are not not stored as string, the usernames are stored as the folders name inside of the 123 directory. For example, the program has 3 usernames stored in the registry; cat, panda, lion. So these are the folders :

HKEY_CURRENT_USER\Software\xyz\123\cat\
HKEY_CURRENT_USER\Software\xyz\123\panda\
HKEY_CURRENT_USER\Software\xyz\123\lion\

inside each username folder there is a key called Id and I want to print the username foldernames and the value of ID key inside each usename folder into a listbox. I appreacite if an expert show me how to achive this task.Thanks