change form color run-time

nikhiljain27

Member
Joined
Nov 11, 2005
Messages
14
Programming Experience
1-3
:p :cool:

I have to save the form color at runtime and save it at backhand.
I have read the value color name from back hand through dataeader and to set the color of forms at run time.
Plz. tell me how it to do.
 
well to change the form's background color in code simply use
VB.NET:
Me.Backcolor = Color.Black
'or
Me.Backcolor = SystemColors.Control

i think i saw somewhere on some forum on how to save the color as text in a file something like ToRgb and FromRgb but i dont know what namespace those functions are in
 
Back
Top