The function writes given value into the Windows system registry.
Declaration
BOOL %SetRegValue(
TEXT in keyNameStr,
in Value
)
Parameters
keyNameStr
Key name in the Registry.
Value
Value to write.
Return value
@TRUE on success.
Note
The function will write the given value into the registry. The name of the written key is keyNameStr. If the key does not exist, the function generates it. The following types of values to write are supported:
Bool
Text
Integer
Example
In the following example, the writing the value HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Excel\Options\OPEN into the registry is performed:
0 komentárov