Reg\_SetBinary
Description
Section titled “Description”Set the value of a registry variable of type binary
Syntax
Section titled “Syntax”Reg_SetBinary(sHandle, sKey, sVariable, vValue) as Boolean
Parameters
Section titled “Parameters”sHandle (String)
HKEY-handle
sKey (String)
Subkey path
sVariable (String)
Name of variable to contain the value
vValue (Variant)
Binary value. Must be integers only
Example
Section titled “Example”VBScript
Redim aTmp(2)aTmp(0) = "10"aTmp(1) = "1"aTmp(2) = "5"
If bStatus Then bStatus = Reg_SetBinary("HKLM", "Software\KeyName", "ValueName", aTmp)Related functions
Section titled “Related functions”