Given the following:
Code:My.Computer.Registry.SetValue("HKEY_CURRENT_USER\MyTestKey", "MyTestKeyValue", "This is a test value.")
I wish to do one of the following:
a. Delete "MyTestKeyValue" or
b. Set "This is a test value" to Nothing.
This is in part to reset settings such as Background Color, Width, Height, Position-x, Position-y (all are REG_DWORD).
DeleteSubKey is not working. Error says key does not exist.
SetValue to Nothing also throws errors.
Thanks in advance.




Reply With Quote