|
-
Jul 5th, 2001, 05:02 PM
#1
Thread Starter
New Member
reading registry keys
Is there a simple way I can retreive names of VB subkeys in a given key?
I looked through tons of sample code but it appears it should not be this complicated.
Does any one know?
thanks!
-
Jul 6th, 2001, 01:13 PM
#2
Monday Morning Lunatic
"VB Subkeys"?
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Jul 6th, 2001, 01:31 PM
#3
VB has some functions, I don't remember what they're called, like GetRegistry or SetRegistry or something, they're friendlier versions of the API, but they put the keys and stuff in the VB key... I think..... it's been like 1/2 a year since I've used them...
-
Jul 6th, 2001, 01:34 PM
#4
Monday Morning Lunatic
Oh. GetSetting and SaveSetting? Yep - they're limited to saving string values, under the key "HKEY_CURRENT_USER\Software\VB and VBA Program Settings" (I think).
You'd need to use RegEnumKeys, which there should be a sample of at www.vbapi.com
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Jul 7th, 2001, 07:46 AM
#5
Registered User
-
Jul 9th, 2001, 02:14 PM
#6
Thread Starter
New Member
It worked
Thanks all for your help,
It worked.
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
|