We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

multiple types of user profiles/preferences

maveric191
maveric191 asked
on
Medium Priority
320 Views
Last Modified: 2013-12-17
is there a way to save multiple profiles for the user to select they're app settings from
ex: app is installed and multiple people use it on one windows log in
user A likes his colors, and forms in one place with one background
user B has something else ect.

also the users have to option to save a variety of color profiles only and use them with whatever main profile they want.

side note is there a way to import an old INI file so users don't have to reconfigure everything on when and if they choose to migrate to the new app?
Comment
Watch Question

Sure!
Create a mechanism in your aplication that allows users ( of your app ) to save & load their own preferences.
In the most simple example, save user settings to xml file(s), and provide a way for your app user to load their own settings.
For your color settings, save them separate from the main settings and then allow the users to choose which color profile(s) they want to use.
In terms of the INI file question, File.Copy should do it
 
 

Author

Commented:
fantastic!!! could you be so kind as to point me in the right direction plz.  I've never worked with XML that i'm aware of at least

Author

Commented:
still at a loss as to how to do this.  help plz
Sorry mav, I'm not sure how i missed your first comment.  When i get to work tomorrow, I'll add some code snippets here.

Author

Commented:
no worries :-) it happens to the best of us.  thanks again
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview

Author

Commented:
Thanks :-) i've figured out how to get my colors to save using the settings and binding in VS.  I haven't figured out how to allow the user to save multiple color profiles using various names or how to get those names to show up in the initial form that allows users to add modify copy or delete the profile, or to show and allow for a quick swap of color profiles via the menu bar in the main form.  screenshots below are roughly what i'm trying to do.
opening.jpg
colorprofile.jpg

Author

Commented:
here's a sample config file that a friend sent me.
sample-config.txt
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.