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!
Printable View
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!
"VB Subkeys"? :confused:
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...
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
Thanks all for your help,
It worked.