Reg_DeleteKey
Description
Deletes specified key in registry. Fails if any sub key exists. Recommended for safe Registry-handling.
Â
Syntax
Reg_DeleteKey(sHandle, sKey) as Boolean
Â
Parameters
sHandle (String)
HKEY-handle
sKey (String)
Subkey to delete
Â
Example
VBScript
If bStatus Then bStatus = Reg_DeleteKey("HKLM", "Software\KeyName")
Â