User.Config Settings not working

blackduck603

Member
Joined
Sep 17, 2008
Messages
21
Location
NH
Programming Experience
3-5
I recently created a Visual Studio 2005 VB Windows App and am using the My.Settings Auto-Save Functionality to set and get application settings - for example, settings related to program options like checkboxes etc. This all works fine and dandy while I run my application via the Visual Studio IDE or if I launch the EXE from the DEBUG folder.

However, I want to copy this application to another PC to test it out. Before doing so, I decided to try copying my EXE to a test folder on my PC (C:\Tmp). The application launches, however it does NOT seem to find any of the settings. My code that initializes my form controls via the My.Settings values executes, but the values are not what was saved. I have confirmed that changes to my settings are getting saved - well, let me re-word that - the user.config file is getting updated.

Has anyone else ever seen this behavior?

I appreciate any pointers.
 
Has anyone else ever seen this behavior?
No, we're all using setup projects or ClickOnce when deploying, which usually takes care of all files and configurations needed at target computer...
 
Back
Top