Hi,
How do I save my favorite color to the Registry and then use it for the color of a textbox?!?
I tried
but it doesn't work. "Integer can't be converted to Color" I'm told....
TIA
/Kejpa
How do I save my favorite color to the Registry and then use it for the color of a textbox?!?
I tried
Code:
oRegKey.SetValue("FavoriteBackColor", txtFavorite.BackColor.ToArgb, RegistryValueKind.DWord)
txtFavorite.BackColor = CType(oRegKey.GetValue("FavoriteBackColor"), Color)
TIA
/Kejpa