Click here to return to the KiXtart HelpDesk main page...

KiXtart 2001 Manual

DelValue( )

Action: Deletes a value entry from the registry.
 
Syntax: DELVALUE ("subkey", "entry")
 
Parameters:

Subkey

A string that specifies the name of the subkey from which you want to delete an entry.

Entry

A string that specifies the name of the entry you want to delete.

Returns:
0 Value entry deleted
Error code Function failed
 
See Also: AddKey( ), DelKey( ), DelTree( ), ReadType( ), ReadValue( ), WriteValue( )
 
Example:

$ReturnCode =DelValue("HKEY_CURRENT_USER\EZReg", "Test")
If $ReturnCode = 0
  ? "Value deleted...."
Endif