Visual Basic .NET Forums    

Go Back   Visual Basic .NET Forums > VB.NET > Deployment

VB.NET Forums Newsletter Signup:
Email address:


Deployment Discussions related to installation, patching/updates, no touch deployment, etc.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-03-2008, 1:27 PM
blackduck603's Avatar
VB.NET Forum Newbie
.NET Framework: .NET 1.1 (VS 2003)
 
Join Date: Sep 2008
Location: NH
Posts: 6
Reputation: 0
blackduck603 is on a distinguished programming path ahead
Default User.Config Settings not working

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.
Reply With Quote
  #2 (permalink)  
Old 12-03-2008, 1:39 PM
JohnH's Avatar
VB.NET Forum Moderator
.NET Framework: .NET 3.5 (VS 2008)
 
Join Date: Dec 2005
Location: Norway
Age: 36
Posts: 8,138
Reputation: 876
JohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond repute
Default

Quote:
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...
__________________
See this thread about how to use forum markup codes for code blocks etc (present the problem/post properly )
Some useful links: Learning videoes, WMI Code Creator, MSDN, The Code Project, WindowsClient.net, ASP.net, W3 Schools, Regular-Expressions.info, GDI+ FAQ


DR. WEIR: Download it to a non-networked, firewalled computer.
TECHNICIAN: Yes, ma'am.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 9:55 PM.




Click to advertise here

Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
For advertising opportunities click here.