
-----------------------------------
pavol
Fri Sep 30, 2005 7:47 pm

registry help
-----------------------------------
is there any way to delete a whole section from a registry, i know how to delete the key: DeleteSetting(appname,section,key,[default]). but i have the setting saved and when i change it i will have to create a whole new section, because my program depends on it. so, i want to delete the old section (the whole thing, not just then key). is there any way i can do this?

-----------------------------------
Tony
Fri Sep 30, 2005 10:41 pm


-----------------------------------
registry is just a common place to keep program configurations/settings/whatever.

since the settings for your program are so specialized - why not just keep it all in a custom XML file?

-----------------------------------
Monstrosity_
Sat Oct 01, 2005 12:14 am

Re: registry help
-----------------------------------
is there any way to delete a whole section from a registry, i know how to delete the key: DeleteSetting(appname,section,key,
Yes. I prefer not to spoon feed though. Press F1 (or goto the [url=http://msdn.microsoft.com]site) and look up the DeleteSetting function. Look at the parameters it takes and read the remarks, should be no problem to find.
