|
-
Sep 27th, 2000, 02:09 PM
#1
Thread Starter
Junior Member
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!
-
Sep 27th, 2000, 05:36 PM
#2
Lively Member
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
-
Sep 27th, 2000, 09:45 PM
#3
Lively Member
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
-
Sep 28th, 2000, 03:06 AM
#4
transcendental analytic
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.
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Sep 28th, 2000, 12:16 PM
#5
Fanatic Member
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
Chemically Formulated As:
Dr. Nitro
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|