Skip to content

Reg_SetStringX64

Sets the value of a registry variable of type string (REG_SZ) in 64 bit registry from a 32 bit context. If the key doesn’t exist, it’s created.

Reg_SetStringX64(sHandle, sKey, sVariable, sValue) as Boolean

Registry hive, for example HKLM. For all accepted values, see Registry Functions.

Subkey path

Name of variable to contain the value

Value

If bStatus Then bStatus = Reg_SetStringX64("HKLM", "Software\KeyName", "ValueName", "Value")

Scripting Guidelines

Registry Functions Constants Package Property Variables