G
Guest
I have an application that enables the user to change the color of the form
(pretty simple). I want that color to be saved to a DB when the form is
closed. Then, when the form is opened again, I want it to get that color from
the DB, and have its background with that color.
The problem is that VB.net stores the colors as a COLOR type, and to store
it in a DB I need to have it as string or integer. And after that, I need to
be able to assign whatever is in the database to the form.backcolor.
I would appriciate any help in the matter.
Thank you.
(pretty simple). I want that color to be saved to a DB when the form is
closed. Then, when the form is opened again, I want it to get that color from
the DB, and have its background with that color.
The problem is that VB.net stores the colors as a COLOR type, and to store
it in a DB I need to have it as string or integer. And after that, I need to
be able to assign whatever is in the database to the form.backcolor.
I would appriciate any help in the matter.
Thank you.