G
Guest
I have tried everything I know, looked every where, and I still cannot figure out this
You see, I have a color stored in the registry and it shows up as say Color [red
and I cannot get that color out as Color.Red so that I can put it in a variable to be assigned to a label.backcolo
The registry getvalue code I use is as folllows
-----------------------------------------------------------------------------
PanelColors = Microsoft.Win32.Registry.CurrentUser.OpenSubKey("My App"
Dim nameColor = PanelColors.GetValue("My App"
Label1.BackColor= nameColo
You see, I have a color stored in the registry and it shows up as say Color [red
and I cannot get that color out as Color.Red so that I can put it in a variable to be assigned to a label.backcolo
The registry getvalue code I use is as folllows
-----------------------------------------------------------------------------
PanelColors = Microsoft.Win32.Registry.CurrentUser.OpenSubKey("My App"
Dim nameColor = PanelColors.GetValue("My App"
Label1.BackColor= nameColo