CPB Mailing List
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Delete reg key?
How do I delete a registry key? For example I would like to delete the
key HKEY_CURRENT_USER\Software\High Voltage\High Security\3\. How is that
done?
thanks
Steven Carlson
President of High Voltage R&D
http://www.highvoltagerd.com
-------------------------------------
Hope this helps,
TRegistry& MyReg = *new TRegistry;
if(MyReg.OpenKey("\\High Voltage\\High Security", false))
MyReg.DeleteKey("\\High Voltage\\High Security\\3");
delete &MyReg;
__________________
if wrong, please correct it.
Best Reagards,
Juany Wu
W Komornicki's Home Page |
Main Index |
Thread Index