Click here to Skip to main content
15,917,997 members
Home / Discussions / C#
   

C#

 
AnswerRe: How do Merge cell in excel of xml? Pin
Richard MacCutchan8-May-12 21:57
mveRichard MacCutchan8-May-12 21:57 
GeneralRe: How do Merge cell in excel of xml? Pin
Apocalypse Now8-May-12 22:20
Apocalypse Now8-May-12 22:20 
SuggestionWhat are the references for the code bellow [Solved] Pin
jojoba20118-May-12 19:41
jojoba20118-May-12 19:41 
AnswerRe: What are the references for the code bellow Pin
Richard MacCutchan8-May-12 22:00
mveRichard MacCutchan8-May-12 22:00 
AnswerRe: What are the references for the code bellow Pin
Eddy Vluggen9-May-12 0:08
professionalEddy Vluggen9-May-12 0:08 
AnswerRe: What are the references for the code bellow Pin
Dain Ucak9-May-12 4:16
Dain Ucak9-May-12 4:16 
GeneralRe: What are the references for the code bellow Pin
jojoba20119-May-12 17:43
jojoba20119-May-12 17:43 
QuestionUser Settings Not Persisting Pin
Kevin Marois8-May-12 10:53
professionalKevin Marois8-May-12 10:53 
I have created a bool User Setting called ShowRecent with a value of True. I created it in the designer, and in app.config it shows as True.

I created a bool property:

public bool ShowRecent { get; set; }


I also created these two methods:

public void loadSettings()
{
    ShowRecent = Properties.Settings.Default.ShowRecent;
}

public void saveSettings()
{
    Properties.Settings.Default.ShowRecent = ShowRecent;
    Properties.Settings.Default.Save();
}


I then run

engine.loadSettings();
engine.ShowRecent = true;
engine.saveSettings();


when the loadSettings is run the property is False. Even when I set it to True and called saveSettings, the propety is still False. app.config still has True.

What am I doing wrong here?
Everything makes sense in someone's mind

AnswerRe: User Settings Not Persisting Pin
SledgeHammer018-May-12 13:03
SledgeHammer018-May-12 13:03 
GeneralRe: User Settings Not Persisting Pin
Kevin Marois9-May-12 6:55
professionalKevin Marois9-May-12 6:55 
GeneralRe: User Settings Not Persisting Pin
SledgeHammer019-May-12 7:11
SledgeHammer019-May-12 7:11 
QuestionJaggedarray Null Reference Exception Pin
ariez888-May-12 10:07
ariez888-May-12 10:07 
AnswerRe: Jaggedarray Null Reference Exception Pin
Richard MacCutchan8-May-12 21:53
mveRichard MacCutchan8-May-12 21:53 
AnswerRe: Jaggedarray Null Reference Exception Pin
V.8-May-12 21:56
professionalV.8-May-12 21:56 
GeneralRe: Jaggedarray Null Reference Exception Pin
ariez889-May-12 2:49
ariez889-May-12 2:49 
GeneralRe: Jaggedarray Null Reference Exception Pin
ariez889-May-12 2:53
ariez889-May-12 2:53 
GeneralRe: Jaggedarray Null Reference Exception Pin
V.9-May-12 2:59
professionalV.9-May-12 2:59 
GeneralRe: Jaggedarray Null Reference Exception Pin
ariez889-May-12 7:15
ariez889-May-12 7:15 
GeneralRe: Jaggedarray Null Reference Exception Pin
V.9-May-12 19:55
professionalV.9-May-12 19:55 
GeneralRe: Jaggedarray Null Reference Exception Pin
ariez889-May-12 20:02
ariez889-May-12 20:02 
GeneralRe: Jaggedarray Null Reference Exception Pin
V.9-May-12 20:11
professionalV.9-May-12 20:11 
QuestionHow to open File using System.Diagnostics.Start in the Base Root directory Pin
nassimnastaran8-May-12 9:52
nassimnastaran8-May-12 9:52 
AnswerMessage Removed Pin
8-May-12 10:08
professionalN_tro_P8-May-12 10:08 
GeneralRe: How to open File using System.Diagnostics.Start in the Base Root directory Pin
nassimnastaran8-May-12 10:33
nassimnastaran8-May-12 10:33 
GeneralRe: How to open File using System.Diagnostics.Start in the Base Root directory Pin
Dave Kreskowiak8-May-12 13:15
mveDave Kreskowiak8-May-12 13:15 

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.