Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Renaming a Registry Key

Renaming a Registry Key

Scheduled Pinned Locked Moved C / C++ / MFC
c++windows-admintutorialquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Andrew Stampor
    wrote on last edited by
    #1

    I need to rename a registry key, but am not sure how to do this in VC++. Any suggestions?

    N 1 Reply Last reply
    0
    • A Andrew Stampor

      I need to rename a registry key, but am not sure how to do this in VC++. Any suggestions?

      N Offline
      N Offline
      Nish Nishant
      wrote on last edited by
      #2

      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)?

      A 1 Reply Last reply
      0
      • N Nish Nishant

        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)?

        A Offline
        A Offline
        Andrew Stampor
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups