Hi to all, I have a Windows (not Web) NET 1.1 app which can accept the settings file as its argument; this way I can easily switch between (e.g.) different connection strings just by passing a different settings file.
I understand that in NET 2.0 settings manager has been made simpler: we can define it at design-time and easily access its properties at design/run-time; but this imposes me to always use THAT particular configuration file, with no chance (as far as I understood) to have the flexibility to pass one or another configuration file accordingly to the circumstancies.
I would like to be able to have a Settings class which initializes itself just the way it does it now (app.config file in the default dir), but can be redirected to another file for read/write operations, like:
My.Settings.Use(*FileNameWithFullPathAndExtensions*)
So my question is: is there a way to do something like this?
Thanks in advance to anyone will help