🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #14169

Re: Programatically changing a Registry Key Name

#14169
From: Remy Lebeau (TeamB)
Date: Wed, 03 Sep 2003 02:32
22 lines
1552 bytes
"Maurice Anderson" <mauriceanderson@hotmail.com> wrote in message
news:3f553f70$1@newsgroups.borland.com...

>     1.)  Change a Registry Key name.

You cannot rename a key in a single operation.  You must create a new key
with the desired name, then recursively copy the individual values and
subkeys from the old key to the new key, then finally delete the old key.

>     2.)  Delete a value variable.

RegDeleteValue()


Gambit


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.515 / Virus Database: 313 - Release Date: 9/1/03
Technical Details
Message-ID: <3f5552c5$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3f553f70$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,3875ea841e0a5d90
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-09-02 19:36:20 PST
From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f553f70$1@newsgroups.borland.com>
Subject: Re: Programatically changing a Registry Key Name
Date: Tue, 2 Sep 2003 19:32:59 -0700
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 207.175.226.26
Message-ID: <3f5552c5$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1062556357 207.175.226.26 (2 Sep 2003 19:32:37 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail