Solved

Renaming a key in the Registry

Posted on 2000-04-11
2
550 Views
Last Modified: 2012-06-27
How do i rename a key in the registry
(the key has subfolders)

ps: small example please...
0
Comment
Question by:nirkr
2 Comments
 
LVL 4

Expert Comment

by:abancroft
ID: 2703950
1. Use RegCreateKeyEx() to create the destination key.
2. Use RegOpenKeyEx() to open the source key.
3. Use SHCopyKey() to copy the key
4. Use SHDeleteKey() to delete the source key.
0
 
LVL 32

Accepted Solution

by:
jhance earned 100 total points
ID: 2704502
This article outlines the entire process and gives example code:


http://support.microsoft.com/support/kb/articles/Q175/3/29.ASP
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question