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

KiXtart 2001 Manual

AddKey( )

Action: Adds the specified subkey to the registry.
 
Syntax: ADDKEY ("subkey")
 
Parameters:

Subkey

A string that specifies the name of the subkey you want to add to the registry.

Returns:
0 Subkey added
Error code Function failed  
 
See Also: DelKey( ), DelTree( ), ReadType( ), ReadValue( ), WriteValue( )
 
Example:

$ReturnCode = AddKey("HKEY_CURRENT_USER\EZReg")
If $ReturnCode = 0
  ? "Key added...."
Endif