Reg_SetMultiStringX64
Description
Section titled “Description”Sets the value of a registry variable of type multistring (REG_MULTI_SZ) in 64 bit registry from a 32 bit context. If the key doesn’t exist, it’s created. The existing content of the variable is replaced. To add strings to the existing content, use Reg_UpdateMultiStringX64.
Syntax
Section titled “Syntax”Reg_SetMultiStringX64(sHandle, sKey, sVariable, vValue) 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
vValue (Variant)
Section titled “vValue (Variant)”Array of strings. Empty elements are skipped, and spaces at the start and end of each element are removed. If vValue isn’t an array, the function returns FALSE.
Example
Section titled “Example”Redim aTmp(2)aTmp(0) = "Skanderborg"aTmp(1) = "Taastrup"aTmp(2) = "Copenhagen"
If bStatus Then bStatus = Reg_SetMultiStringX64("HKLM", "Software\KeyName", "ValueName", aTmp)