Re: Modify registry Key name
- From: "Andy DF" <PrivateType@xxxxxx>
- Date: Wed, 8 Jun 2005 16:10:46 +0200
Mike,
after taking a closer look at the code you so kindly e-mailed me, it seems
that after all the only way to rename a registry key is to actually create a
new key, copy all subkeys and values and delete the original key.
Since RegEdit offers a simple Key Rename function, I'm just wondering if
that's achieved in such way.
Or is there a hidden RegRenameKeyEx API???
--
Andy,
andreaATdstudio32DOTit
"Mike D Sutton" <EDais@xxxxxxxx> ha scritto nel messaggio
news:eC2IRZCbFHA.3684@xxxxxxxxxxxxxxxxxxxxxxx
>> Is there a way to modify the name of a registry key?
>>
>> Ex: from
>> HKEY_LOCAL_MACHINE\SOFTWARE\Company\Software_ver_1
>> to
>> HKEY_LOCAL_MACHINE\SOFTWARE\Company\Software_ver_2
>>
>> I'm trying to avoid having to retrieve all of the subkeys name and
>> values.
>
> If you want, I wrote some additional functionality to the registry library
> on vbaccelerator.com including the ability to rename registry keys or
> values. Unfortunately I've been unable to contact Steve about publishing
> it online, so if you want a copy then I'll have to e-mail it to you.
> Hope this helps,
>
> Mike
>
>
> - Microsoft Visual Basic MVP -
> E-Mail: EDais@xxxxxxxx
> WWW: Http://EDais.mvps.org/
>
.
- Follow-Ups:
- Re: Modify registry Key name
- From: Ken Halter
- Re: Modify registry Key name
- References:
- Modify registry Key name
- From: Andy DF
- Re: Modify registry Key name
- From: Mike D Sutton
- Modify registry Key name
- Prev by Date: Switch running applications
- Next by Date: Re: System-wide hooking, VB+ASM
- Previous by thread: Re: Modify registry Key name
- Next by thread: Re: Modify registry Key name
- Index(es):
Relevant Pages
|