SubKey
(string) The sub key to delete.
Re t u r n s
Nothing. You can use Application.GetLastError to determine whether this action failed, and why.
See also: Related Actions
Registry.DeleteValue
OverviewExamples
Registry.DeleteValue ( number MainKey,
string SubKey,
string Value )
De s cr ip t ion
Deletes a "value" from the user's Registry.
P arame t er s
MainKey
(number) The main or "root" key where the value can be found. Choose from:
CONSTANT |
VALUE |
HKEY_CLASSES_ROOT |
0 |
HKEY_CURRENT_CONFIG |
1 |
HKEY_CURRENT_USER |
2 |
HKEY_LOCAL_MACHINE |
3 |
HKEY_USERS |
4 |