WriteRegMulti

Description:

baWriteRegMulti writes a multi string value into the Windows Registry.

Platforms:

Windows

Usage:

Result = baWriteRegBinary( KeyName, ValueName, Data, Branch )

Arguments:

String, string, list (Xtra) or string (UCD), string.
KeyName is the name of the key.
ValueName is the name of the value.
Data is a list containing the strings that will be written to the registry.
Branch is the branch of the registry to use. Can be one of the following:
    "HKEY_CLASSES_ROOT"
    "HKEY_CURRENT_USER"
    "HKEY_LOCAL_MACHINE"
    "HKEY_USERS"
    "HKEY_CURRENT_USER"
    "HKEY_DYN_DATA"

Returns:

Integer.
Returns 1 if the function is successful, otherwise 0.

Examples:

Director:
OK = baWriteRegMulti( "Courses\Computers", "Course", [ "name", "fred" ], "HKEY_CLASSES_ROOT" )

Authorware:
OK := baWriteRegBinary( "Courses\\Computers", "Course", [ "name", "fred" ], "HKEY_CLASSES_ROOT" )
 

See also:

baReadRegMulti
baReadRegBinary
baReadRegString
baWriteRegString
baReadRegNumber
baWriteRegNumber
baReadRegMulti
baWriteRegMulti
baDeleteReg
baRegKeyList
baRegValueList