G
Guest
I have been trying to get the opennetcf.win32.Registry setvalue function to
work on a Pocket PC 2002. I can view the registry value but can not update. I
have looked at alot of samples and nobody seams to have any problems with it.
I have textbox on the form.
Dim reg_reader As OpenNETCF.Win32.Registry
TextBox1.Text =
reg_reader.LocalMachine.OpenSubKey("DSMobile").GetValue("Server")
reg_reader.LocalMachine.Close()
The textbox has the value at this point, OK
Now I change the textbox and want to save the change.
Dim reg_reader As OpenNETCF.Win32.Registry
reg_reader.LocalMachine.OpenSubKey("DSMobile", True).GetValue("Server")
reg_reader.LocalMachine.SetValue("Server", TextBox1.Text)
reg_reader.LocalMachine.Close()
Wont save the change, no errors, I can change with a regedit program?
Any ideas?
work on a Pocket PC 2002. I can view the registry value but can not update. I
have looked at alot of samples and nobody seams to have any problems with it.
I have textbox on the form.
Dim reg_reader As OpenNETCF.Win32.Registry
TextBox1.Text =
reg_reader.LocalMachine.OpenSubKey("DSMobile").GetValue("Server")
reg_reader.LocalMachine.Close()
The textbox has the value at this point, OK
Now I change the textbox and want to save the change.
Dim reg_reader As OpenNETCF.Win32.Registry
reg_reader.LocalMachine.OpenSubKey("DSMobile", True).GetValue("Server")
reg_reader.LocalMachine.SetValue("Server", TextBox1.Text)
reg_reader.LocalMachine.Close()
Wont save the change, no errors, I can change with a regedit program?
Any ideas?