Registry: SetValue |
Sets a value to a registry key, creating it if it does not exist.
Public Sub SetValue( ByRef KeyName As String, ByRef ValueName As String, ByRef Value As Variant )
A full registry key name must include the root level key.
Registry.SetValue "HKEY_CURRENT_USER\Environment\", "MyValue", "Hello"