C
ChuckD_Duncan
using Microsoft.Win32;
RegistryKey key = Registry.LocalMachine;
key = key.OpenSubKey(".....");
...
key = key.OpenSubKey("PCF", true);
double aDoubleValue = 0.25;
key.SetValue("testkey", aDoubleValue);
testkey pre-existed as a DWORD value and after the setvalue becomes a
REG_SZ type. Even tried casting the aDoubleValue, but no change.
Whats wrong with SetValue?
Thanks in advance.
Chuck
RegistryKey key = Registry.LocalMachine;
key = key.OpenSubKey(".....");
...
key = key.OpenSubKey("PCF", true);
double aDoubleValue = 0.25;
key.SetValue("testkey", aDoubleValue);
testkey pre-existed as a DWORD value and after the setvalue becomes a
REG_SZ type. Even tried casting the aDoubleValue, but no change.
Whats wrong with SetValue?
Thanks in advance.
Chuck