Hi,
Thanks to MegaTron, I now have some code which will store/retrieve strings and integers to/from the register in order to persist user settings.
However, I am now trying to figure out the best way to load the user settings when the app is first loaded.
What I was thinking is that I would declare some module level variables which would hold the value of each registry key. But, how can I load all the keys/values that exist in "HKEY_CURRENT_USER\Software\MyApp\UserSettings" and then assign each value to the appropriate variable, all without having to load each setting individually?
I did find the article on this site which talks about the built in GetAllSettings which would return an array of all the values, but from what I understand, you can't specify the path so it would allways read from the "HKEY_CURRENT_USER\Software\VB and VBA Software..." so this would be useless to me..
Any ideas or suggestions on how to handle loading all user settings during run time would be greatly appreciated!! Example code would also be appreciated..
Dan
