[RESOLVED] Where in the registry does it put the settings?
When use SaveSettings command in VB6, and then go to regedit and look in HKEY_CURRENT_USER\Software and also in HKEY_LOCAL_MACHINE\SOFTWARE, I can't find it anywhere. Here's the code I used.
Code:
SaveSetting "testapp", "testsection", "testkey", "testvalue"
It should either be in HKEY_CURRENT_USER\Software\testapp
or in HKEY_LOCAL_MACHINE\SOFTWARE\testapp
But it's not. So where does it go?
Re: Where in the registry does it put the settings?
Check out the FAQ on registry (Working with Windows Registry) in my signature :)
Re: Where in the registry does it put the settings?
Quote:
Originally Posted by
koolsid
Check out the FAQ on registry (Working with Windows Registry) in my signature :)
Thanks. Though I eventually (while waiting for a reply) actually used the search feature in regedit, and found where VB was hiding it.
Re: Where in the registry does it put the settings?
Re: Where in the registry does it put the settings?
Quote:
Originally Posted by
Ben321
Thanks. Though I eventually (while waiting for a reply) actually used the search feature in regedit, and found where VB was hiding it.
My suggestion would still be going through the FAQ so that you actually understand where are the settings saved. This will save you 'time and energy' next time when you search the entire registry... :)
Re: Where in the registry does it put the settings?
Quote:
Originally Posted by
koolsid
My suggestion would still be going through the FAQ so that you actually understand where are the settings saved. This will save you 'time and energy' next time when you search the entire registry... :)
I remembered where it went after searching and finding it.
It was HKEY_CURRENT_USER\Software\VB and VBA Programs\(whatever text I used for the appname field in the SaveSetting command)