Renaming a Registry Key
-
I need to rename a registry key, but am not sure how to do this in VC++. Any suggestions?
-
I need to rename a registry key, but am not sure how to do this in VC++. Any suggestions?
Andrew Stampor wrote: I need to rename a registry key, but am not sure how to do this in VC++. Any suggestions? There is no direct way to rename a key. Create the new key. Enumerate all the subkeys and their values from the old key and add them under the new key. Now delete the old key. Nish
The rumours that I am an AI bot are absolutely false. These rumours have been propogated by *them* to focus all the attention on to me, while *their* bots take over the planet. Thank y%%%% Divide by zero. Cannot proceed. Abort(y/y)?
-
Andrew Stampor wrote: I need to rename a registry key, but am not sure how to do this in VC++. Any suggestions? There is no direct way to rename a key. Create the new key. Enumerate all the subkeys and their values from the old key and add them under the new key. Now delete the old key. Nish
The rumours that I am an AI bot are absolutely false. These rumours have been propogated by *them* to focus all the attention on to me, while *their* bots take over the planet. Thank y%%%% Divide by zero. Cannot proceed. Abort(y/y)?
Thanks. :) Do you know if this code exists somewhere on CodeProject? I've done a couple of searches, but haven't found anything about it. Do you have this code somewhere? If it doesn't exist here, I'll be sure to post the class I create when I am done.