-
alright., I have looked all over the place, throuhg all registry demo projects and cant find what im looking for.,
I would like to display "sub Keys" from wtihin a registry Key,.
eg. we have
'HKEY_USERS\.DEFAULT\Software\Mirabilis\ICQ\Owners
and under the "owners" key ,. we have a specific number of keys under it.,
I would like to display the total numbr of keys or "sub-keys" , as i call them., into my project that are contained within the "owners" key. or whatever other key for that matter., **Please do not Mistake "keys" for Strings and DWORDS... when i say "keys" i am refering to those "Folder Icons"..
I only need to go down one level., for example i dont need to go to 2 levels or more under the original Key.,.,
Im sorry if this is confusing,..,
thanx in advance!
-
a starting point
I think you can use GetPrivateProfileSectionNames. I am not sure. It has been a long time since I have used it like that. I will try to look it up and reply again. I really cant remember off hand.
Sorry, Hope that helped a little,
KillemAll
-
Found it
I still think that GetPrivateProfileSectionNames would work but this seems to be a better solution. So without futher adue <sp>, Here you go...
http://www.vb-world.net/registry/registry3/index2.html
Hope that helps,
KillemAll
-
I have a registry module on my homepage containing the function Subkeys that returns an array of subkeys inside a specified key, if you don't get it work with what KillemAll suggested.
-
You might want to look at the code I posted. There is a procedure will show you how to grab keys.
http://forums.vb-world.net/showthrea...threadid=21286