Click here to Skip to main content
15,896,432 members
Home / Discussions / C#
   

C#

 
GeneralRe: Send Message in LAN Pin
Richard MacCutchan6-Jul-10 1:41
mveRichard MacCutchan6-Jul-10 1:41 
GeneralRe: Send Message in LAN Pin
Roger Wright6-Jul-10 2:53
professionalRoger Wright6-Jul-10 2:53 
QuestionUsing FFMpeg with C# .NET Pin
sridharv865-Jul-10 18:42
sridharv865-Jul-10 18:42 
AnswerRe: Using FFMpeg with C# .NET Pin
Peace ON5-Jul-10 22:12
Peace ON5-Jul-10 22:12 
Questionerror in combobox databinding Pin
swtlibra5-Jul-10 17:54
swtlibra5-Jul-10 17:54 
AnswerRe: error in combobox databinding Pin
thatraja5-Jul-10 18:27
professionalthatraja5-Jul-10 18:27 
GeneralRe: error in combobox databinding Pin
swtlibra5-Jul-10 18:53
swtlibra5-Jul-10 18:53 
QuestionQuick app.config question Pin
Megidolaon5-Jul-10 12:24
Megidolaon5-Jul-10 12:24 
I have a default directory saved in my app.config and also another directory.
In the options of my program the user is supposed to be able to change the other directory or restore the default.
Yet, that doesn't seem to work properly.

At program start (first time) default and other directory have the same value. In the options I use a FolderBrowseDialog and then display the SelectedPath in a textbox. When the user clicks apply/ok the value of said textbox is written into the app.config (presumably).

Yet, when opening another form to use that changed directory (I double and triple checked for spelling mistakes), the default directory is still used.

I checked the .exe.config and .vshost.exe.config files in the debug folder, yet they, too remain unchanged after changing the directory.

But when I read the config value during runtime with config.AppSettings.Settings["elementPath"].Value, the value is the changed one as long as I stay on the same form I changed it on.

Why does that happen?
Thanks.
AnswerRe: Quick app.config question Pin
Ravi Bhavnani5-Jul-10 15:28
professionalRavi Bhavnani5-Jul-10 15:28 
QuestionSee properties - property grid Pin
billy_iii5-Jul-10 8:32
billy_iii5-Jul-10 8:32 
AnswerRe: See properties - property grid Pin
DaveyM695-Jul-10 8:44
professionalDaveyM695-Jul-10 8:44 
GeneralRe: See properties - property grid Pin
billy_iii7-Jul-10 5:57
billy_iii7-Jul-10 5:57 
GeneralRe: See properties - property grid Pin
DaveyM697-Jul-10 7:10
professionalDaveyM697-Jul-10 7:10 
AnswerRe: See properties - property grid Pin
OriginalGriff5-Jul-10 9:38
mveOriginalGriff5-Jul-10 9:38 
Questionhow to browse server's folders in FTP Server? Pin
akroyan5-Jul-10 8:21
akroyan5-Jul-10 8:21 
AnswerRe: how to browse server's folders in FTP Server? Pin
I Believe In GOD5-Jul-10 13:24
I Believe In GOD5-Jul-10 13:24 
GeneralRe: how to browse server's folders in FTP Server? Pin
akroyan5-Jul-10 17:29
akroyan5-Jul-10 17:29 
QuestionIs the line terminator one or two characters? Pin
Jun Du5-Jul-10 7:52
Jun Du5-Jul-10 7:52 
AnswerRe: Is the line terminator one or two characters? Pin
DaveyM695-Jul-10 8:05
professionalDaveyM695-Jul-10 8:05 
AnswerRe: Is the line terminator one or two characters? Pin
Dr.Walt Fair, PE5-Jul-10 9:50
professionalDr.Walt Fair, PE5-Jul-10 9:50 
QuestionNeed to initiate seperate background processes using .NET Remoting for Interprocess Communication Pin
glitteringsound5-Jul-10 6:39
glitteringsound5-Jul-10 6:39 
QuestionSharpSVN committing and updating problems - urgent Pin
WebMaster5-Jul-10 1:40
WebMaster5-Jul-10 1:40 
AnswerRe: SharpSVN committing and updating problems - urgent Pin
Richard MacCutchan5-Jul-10 2:20
mveRichard MacCutchan5-Jul-10 2:20 
GeneralRe: SharpSVN committing and updating problems - urgent Pin
WebMaster5-Jul-10 2:22
WebMaster5-Jul-10 2:22 
AnswerRe: SharpSVN committing and updating problems - urgent Pin
Pete O'Hanlon5-Jul-10 3:22
mvePete O'Hanlon5-Jul-10 3:22 

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.