I'm trying to change the solid desktop background color, and i'm using a RegistryKey
to do that like so :
Dim CD As New ColorDialog
If CD.ShowDialog = DialogResult.OK Then
Dim RK As RegistryKey = Registry.CurrentUser.OpenSubKey("Control Panel\Colors", True)
RK.SetValue("Background", CD.Color.R & " " & CD.Color.G & " " & CD.Color.B)
End If
I'v seen this question, but it didn't help in my case.
The code above is working because the value in the registry editor is changing, but the background color is not, if i edited the color from the control panel, it will change the same value in the registry editor and the background color will change, anyone have explaining for that, or is there any other way to do it?