Reg_SetInteger
Description
Set the value of a registry variable of type integer
Â
Syntax
Reg_SetInteger(sHandle, sKey, sVariable, iValue) as Boolean
Â
Parameters
sHandle (String)
HKEY-handle
sKey (String)
Subkey path
sVariable (String)
Name of variable to contain the value
iValue (Integer/Long)
Value of the type Integer or Long
Â
Example
VBScript
If bStatus Then bStatus = Reg_SetInteger("HKLM", "Software\KeyName", "ValueName", 5)
Â