Profile.WriteValue() Method

Write the value to the registry. Name may be empty string for the unnamed value. Optional path to subkey for given Driver ID may be supplied.

Syntax

Profile.WriteValue(Name, Value, [SubKey])

The method syntax has these parts:

Part Description
Name (String) name of the value to write
Value (String) value to write
SubKey (String) sub-key under which to write named value (see remarks)
Return (Nothing) Does not return a value.

Remarks

SubKey may contain backslash separated path to sub-key. Name may be an empty string for the unnamed value.
Before using this method, be sure you understand relative versus absolute SubKey values. See the Profile Object documentation for details.