Reg_SetInteger
Description
Section titled “Description”Sets the value of a registry variable of type integer (REG_DWORD). If the key doesn’t exist, it’s created.
Syntax
Section titled “Syntax”Reg_SetInteger(sHandle, sKey, sVariable, iValue) as Boolean
Parameters
Section titled “Parameters”sHandle (String)
Section titled “sHandle (String)”Registry hive, for example HKLM. For all accepted values, see Registry Functions.
sKey (String)
Section titled “sKey (String)”Subkey path
sVariable (String)
Section titled “sVariable (String)”Name of variable to contain the value
iValue (Integer/Long)
Section titled “iValue (Integer/Long)”Value of the type Integer or Long
Example
Section titled “Example”If bStatus Then bStatus = Reg_SetInteger("HKLM", "Software\KeyName", "ValueName", 5)