Guys how do I save settings of a form like its background color, fonstyle, sontsize etc. I cannot save them as string or text into my access database.

Recommended Answers

All 4 Replies

save into text file then load it when form loaded

Guys how do I save settings of a form like its background color, fonstyle, sontsize etc. I cannot save them as string or text into my access database.

Hi Mark,

You can also try to do this with the My.Settings object.
You can find some information,here.

Use My.Settings for the purpose.
You can binding a property of the Form to a setting in design time.
Project > appName Properties > Settings
Then
Form > Properties > Application Settings > Choose the property and the setting

OR, you can bind in code.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.