Click here to Skip to main content
16,006,355 members
Home / Discussions / Visual Basic
   

Visual Basic

 
JokeMaybe Pin
CPallini14-Nov-07 23:50
mveCPallini14-Nov-07 23:50 
AnswerRe: Index Pin
Mitch F.14-Nov-07 17:21
Mitch F.14-Nov-07 17:21 
QuestionStopping multiple instances of a DLL Pin
Andy Dale14-Nov-07 9:00
Andy Dale14-Nov-07 9:00 
AnswerRe: Stopping multiple instances of a DLL Pin
Dave Kreskowiak14-Nov-07 10:27
mveDave Kreskowiak14-Nov-07 10:27 
GeneralRe: Stopping multiple instances of a DLL Pin
Andy Dale14-Nov-07 12:44
Andy Dale14-Nov-07 12:44 
GeneralRe: Stopping multiple instances of a DLL Pin
Dave Kreskowiak14-Nov-07 13:08
mveDave Kreskowiak14-Nov-07 13:08 
Questionapp.config Pin
jaska9414-Nov-07 8:26
jaska9414-Nov-07 8:26 
AnswerRe: app.config Pin
Dave Kreskowiak14-Nov-07 8:47
mveDave Kreskowiak14-Nov-07 8:47 
jaska94 wrote:
two.My.Settings.turveset = "false"

I want to write data back to my config file with the statement above


You can't do that. The setting you specified is an Application settings and is permanently read-only. You could change the desginer generated code, but any changes you make will be lost.

User settings are Read/Writeable. Application settings are ReadOnly.

If you wanted to change an Application setting, you would proabably have to use the ConfigurationManager class in the System.Configuration namespace, or use the standard XML document classes to manipulate the file. In either case, the setting in the running application will not change until the app is restarted.


A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


GeneralRe: app.config Pin
jaska9414-Nov-07 9:20
jaska9414-Nov-07 9:20 
QuestionSilently blocking all keyboard input for RichTextBox Pin
supercat914-Nov-07 7:01
supercat914-Nov-07 7:01 
AnswerRe: Silently blocking all keyboard input for RichTextBox Pin
nlarson1114-Nov-07 7:08
nlarson1114-Nov-07 7:08 
GeneralRe: Silently blocking all keyboard input for RichTextBox Pin
supercat914-Nov-07 8:14
supercat914-Nov-07 8:14 
GeneralRe: Silently blocking all keyboard input for RichTextBox Pin
nlarson1114-Nov-07 8:21
nlarson1114-Nov-07 8:21 
GeneralRe: Silently blocking all keyboard input for RichTextBox Pin
supercat914-Nov-07 9:37
supercat914-Nov-07 9:37 
Questionhow to locate wifi node Pin
umershahbaz14-Nov-07 6:30
umershahbaz14-Nov-07 6:30 
AnswerRe: how to locate wifi node Pin
Dave Kreskowiak14-Nov-07 7:12
mveDave Kreskowiak14-Nov-07 7:12 
AnswerRe: how to locate wifi node Pin
Baddog_52017-Nov-07 16:23
Baddog_52017-Nov-07 16:23 
QuestionExeption handling in VB.net Pin
supercat914-Nov-07 6:19
supercat914-Nov-07 6:19 
AnswerRe: Exeption handling in VB.net Pin
Dave Kreskowiak14-Nov-07 6:57
mveDave Kreskowiak14-Nov-07 6:57 
GeneralRe: Exeption handling in VB.net Pin
supercat914-Nov-07 9:02
supercat914-Nov-07 9:02 
GeneralRe: Exeption handling in VB.net Pin
Dave Kreskowiak14-Nov-07 10:20
mveDave Kreskowiak14-Nov-07 10:20 
GeneralRe: Exeption handling in VB.net Pin
supercat914-Nov-07 10:45
supercat914-Nov-07 10:45 
GeneralRe: Exeption handling in VB.net Pin
Dave Kreskowiak14-Nov-07 10:53
mveDave Kreskowiak14-Nov-07 10:53 
GeneralRe: Exeption handling in VB.net Pin
supercat914-Nov-07 12:05
supercat914-Nov-07 12:05 
AnswerRe: connection to SQL server stays open Pin
Dave Kreskowiak14-Nov-07 6:11
mveDave Kreskowiak14-Nov-07 6:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.