Hello,
I have a problem with the settings (save and load) My.Settings in
VB.NET2005.
Actually, I have made a new application, then I have created a setting
(with a default value) and then I publish my application.
In my application (designer), if I change a setting and then save the
settings, all is fine, the next time I load the application, the
settings are loaded automatically and used correctly.
If I use Publish to release my application as 1.0.0.0, all is fine (save
settings, load...)
When I publish my application as 1.0.0.1 (new version), all the settings
are lost and back to the default value.
I can change the settings and save them again, then they will be kept,
but Every time I publish a new version, my settings are "reseted" to the
default ones.
I have been searching and I have seen that the settings are on the
"applicatio n data" directory (in Documents ans settings) but there is a
new directory for every version.
Does any one have any idea of what I could do to be able to save the
settings in a specific directory (so the Version number of my
application wont force the user to create all the settings for every
version?)
Thank you
Marc Allard
I have a problem with the settings (save and load) My.Settings in
VB.NET2005.
Actually, I have made a new application, then I have created a setting
(with a default value) and then I publish my application.
In my application (designer), if I change a setting and then save the
settings, all is fine, the next time I load the application, the
settings are loaded automatically and used correctly.
If I use Publish to release my application as 1.0.0.0, all is fine (save
settings, load...)
When I publish my application as 1.0.0.1 (new version), all the settings
are lost and back to the default value.
I can change the settings and save them again, then they will be kept,
but Every time I publish a new version, my settings are "reseted" to the
default ones.
I have been searching and I have seen that the settings are on the
"applicatio n data" directory (in Documents ans settings) but there is a
new directory for every version.
Does any one have any idea of what I could do to be able to save the
settings in a specific directory (so the Version number of my
application wont force the user to create all the settings for every
version?)
Thank you
Marc Allard