Registry Question
-
I need to save a key and all it's subkeys. The key is: HKEY_CURRENT_USER/Software/{company name}/{app name} I then need to restore all those keys to a new {app name} How do I do that ? I know the functions: RegSaveKey and RegRestoreKey, but I need to do that under win95/98 also and RegRestoreKey is not available under these OS. thanks, Louis.
-
I need to save a key and all it's subkeys. The key is: HKEY_CURRENT_USER/Software/{company name}/{app name} I then need to restore all those keys to a new {app name} How do I do that ? I know the functions: RegSaveKey and RegRestoreKey, but I need to do that under win95/98 also and RegRestoreKey is not available under these OS. thanks, Louis.
-
Yes I'm ready to 'try' but the doc says that the change will be effective only after reboot!! Not very elegant to ask your users to reboot their machine after starting up the program. Have you tried this function ? Is that really the case ? thanks, Louis.
-
I need to save a key and all it's subkeys. The key is: HKEY_CURRENT_USER/Software/{company name}/{app name} I then need to restore all those keys to a new {app name} How do I do that ? I know the functions: RegSaveKey and RegRestoreKey, but I need to do that under win95/98 also and RegRestoreKey is not available under these OS. thanks, Louis.
Enumerate all the keys and values in the tree. Then write out a file in the REG format that RegEdit or RegEdt32 uses. You can then run the RegEdit passing it command line arguments to reload the REG file. The REG files are text files. No reboot would be required.