Profile.DeleteValue() Method

Delete a value from the registry

Syntax

Profile.DeleteValue(Name, [SubKey])

The method syntax has these parts:

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

Remarks

SubKey may contain backslash separated path to sub-key under which the value is to be deleted. 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.