ibec_reg_CreateKey

Creates a new key in the registry.

Syntax

 function ibec_reg_CreateKey(Registry : variant; Key: String) : Boolean;

Description

Use ibec_reg_CreateKey to add a new key to the registry.

Key is the name of the key to create. Key can be an absolute or relative name. An absolute key begins with a backslash (\) and is a sub-key of the root key. A relative key is a sub-key of the current key.

ibec_reg_CreateKey returns True if the key creation is successful. On error, an exception is raised. Attempting to create a key that already exists has no effect.

Example

back to top of page
<< ibec_reg_DeleteKey | IBEBlock | ibec_reg_WriteString >>