CPB Mailing List
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MoveReg Keys?
Here is the obvious from the on line help (search tregistry) (methods)
Moves an existing key, its subkeys, and data values to a new location using
a new key name.
void __fastcall MoveKey(const System::AnsiString OldName, const System::
AnsiString NewName, bool Delete);
Description
Call MoveKey to copy or move an existing key, its subkeys, and data values
to a different location. Under Windows 95, copying is recursive. If a key
contains subkeys and data values, they too, are copied. When the operation
is complete, the new key is closed. Under Windows NT, subkeys must be moved
explicitly with separate calls to MoveKey.
OldName specifies the key to copy or move. NewName specifies a name for the
duplicate key to create. If the key specified by NewName does not exist,
MoveKey creates it. Delete specifies whether to delete the old key after the
copy operation. If Delete is true, the key specified by OldName is deleted
after it is copied. Otherwise the old key is closed.
-----Original Message-----
From: Steven Carlson <stevenc@highvoltagerd.com>
To: Builder Mailing List <cpb-thread@zdtips.com>
Date: Sunday, May 31, 1998 6:32 AM
Subject: MoveReg Keys?
First off I want to say thank you for helping me with my question, you guys
(and gals) have helped me with many problems. If it wasn't for you I would
not be programming today!
I have one more question (hopefully the last for a few weeks). How can I
move all of the strings in HKEY_CURRENT_USER\Software\High Voltage\High
Security\5\ to HKEY_CURRENT_USER\Software\High Voltage\High Security\3\
thanks so much for your time,
Steven Carlson
President of High Voltage R&D
http://www.highvoltagerd.com
-==- Are you looking for a Windows 95 Security System?-==-
Check out High Security at
http://www.highvoltagerd.com/HighSecurity/
W Komornicki's Home Page |
Main Index |
Thread Index