Value
(string) The value to delete.
Note: To specify the "(Default)" value, use an empty string "" as the value name. Deleting the "(Default)" value results in the removal of the key and all of its values.
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.DoesKeyExist
OverviewExamples
boolean Registry.DoesKeyExist ( number MainKey,
string SubKey )
De s cr ip t ion
Determines whether or not a particular Registry key exists and returns either true or false.
P arame t er s
MainKey
(number) The main or "root" key containing the sub key. Choose from:
CONSTANT |
VALUE |
HKEY_CLASSES_ROOT |
0 |
HKEY_CURRENT_CONFIG |
1 |
HKEY_CURRENT_USER |
2 |
HKEY_LOCAL_MACHINE |
3 |
HKEY_USERS |
4 |