Hi all,
I am trying to figure out the best way to save settings in my small app. I have the following settings I need to save:
1. Connection info (Ex: The last server name used, was it trusted authentication or user name, if so what was the user name last used.
2. In my listView which is connected to a SQL table, which items were checked the last time the app was opened.
3. Various other info...
In the past I have used the registry to save connection info but I think a file would be better for all this info??
What is "best practices" for this? If a file is best, how would I add all this info?? What about using an XML file?
Thanks for any ideas!
Best regards,
M
I am trying to figure out the best way to save settings in my small app. I have the following settings I need to save:
1. Connection info (Ex: The last server name used, was it trusted authentication or user name, if so what was the user name last used.
2. In my listView which is connected to a SQL table, which items were checked the last time the app was opened.
3. Various other info...
In the past I have used the registry to save connection info but I think a file would be better for all this info??
What is "best practices" for this? If a file is best, how would I add all this info?? What about using an XML file?
Thanks for any ideas!
Best regards,
M