Can i clear value data of default value in subregistry?

  • Thread starter Thread starter Khanh01
  • Start date Start date
K

Khanh01

Guest
Hi,

I tried using this code to reasign nothing to the default value after I assigned its value = abc, but I got an error that I couldn't assign null to the default value,
How can i do this?
Many thanks!

Using k As Microsoft.Win32.RegistryKey = reg.OpenSubKey(path, True)
'k?.SetValue(vbNullString, vbNullString)
k.DeleteValue("")
End Using



1594243.png

Continue reading...
 
Back
Top