Skip to content

Reg_SetBinary

Set the value of a registry variable of type binary

Reg_SetBinary(sHandle, sKey, sVariable, vValue) as Boolean

HKEY-handle

Subkey path

Name of variable to contain the value

Binary value. Must be integers only

Redim aTmp(2)
aTmp(0) = "10"
aTmp(1) = "1"
aTmp(2) = "5"
If bStatus Then bStatus = Reg_SetBinary("HKLM", "Software\KeyName", "ValueName", aTmp)

Scripting Guidelines

Registry Functions Constants Package Property Variables