Reg_SetMultiString

Description

Set the value of a registry variable of type multistring

 

Syntax

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

 

Parameters

sHandle (String)

HKEY-handle

sKey (String)

Subkey path

sVariable (String)

Name of variable to contain the value

vValue (Variant)

Value

 

Example

VBScript
Redim aTmp(2)
aTmp(0) = "Skanderborg"
aTmp(1) = "Taastrup"
aTmp(2) = "Copenhagen"
 
If bStatus Then bStatus = Reg_SetMultiString("HKLM", "Software\KeyName", "ValueName", aTmp)

Scripting Guidelines

 

Related functions

Registry Functions