I am looking for a way to save and load the values of all my controls present in my form.
My form has around 100 controls spread over 7 tabs. The controls include (Multiline) TextBoxes (Strings), NumericUpDowns (Integers, Decimals) and Checkboxes (Booleans).
If the user clicks the save button a "Save File" dialog should appear allowing the user to specify the directory and the filename of the save file. All the values of the controls should then be written to that file.
If the user clicks the load button an "Open File" should appear where the user can pick a previously saved save file. All the controls should then adopt the values found in the save file.
I have implemented Application Settings in my form, and now when I click save, it saves the control values through My.Settings.Save(). If I click load it loads them.
However, my project requires that multiple save files can be made to reflect multiple configurations. As I understand Application Settings only allow for a single .config file in the Application Data folder.
So how can I code a save/load routine to save/load different configurations?