|
-
May 12th, 2009, 06:52 PM
#6
Re: Save and load variable values from/to file
 Originally Posted by n00b scripter
Ok so I got it working alright.
BUT, something is messed up. The values does change and is saved if I restart the application.
The <applicationName>.exe.config stays the same. It doesn't change. Where the hell are the settings stored? :-o What's happened? :-o
And yes I have built the application so I don't run it in debugger.
I'm using this code to modify:
Code:
With My.Settings
.Test = textbox1.text
End With
The application config file contains the initial values for all your settings. Any settings you create with User scope will then be copied into a user config file stored under each user's Documents and Settings folder. When you edit settings at run time, that's where the changes are made. This also means that there is a different set of settings values for each Windows user who uses your application.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|