Click here to Skip to main content
15,126,567 members
Home / Discussions / C#
   

C#

 
AnswerRe: How do Merge cell in excel of xml? Pin
Richard MacCutchan8-May-12 22:57
mveRichard MacCutchan8-May-12 22:57 
GeneralRe: How do Merge cell in excel of xml? Pin
Apocalypse Now8-May-12 23:20
MemberApocalypse Now8-May-12 23:20 
SuggestionWhat are the references for the code bellow [Solved] Pin
jojoba20118-May-12 20:41
Memberjojoba20118-May-12 20:41 
AnswerRe: What are the references for the code bellow Pin
Richard MacCutchan8-May-12 23:00
mveRichard MacCutchan8-May-12 23:00 
AnswerRe: What are the references for the code bellow Pin
Eddy Vluggen9-May-12 1:08
professionalEddy Vluggen9-May-12 1:08 
AnswerRe: What are the references for the code bellow Pin
Dain Ucak9-May-12 5:16
MemberDain Ucak9-May-12 5:16 
GeneralRe: What are the references for the code bellow Pin
jojoba20119-May-12 18:43
Memberjojoba20119-May-12 18:43 
QuestionUser Settings Not Persisting Pin
Kevin Marois8-May-12 11:53
professionalKevin Marois8-May-12 11: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 14:03
MemberSledgeHammer018-May-12 14:03 
GeneralRe: User Settings Not Persisting Pin
Kevin Marois9-May-12 7:55
professionalKevin Marois9-May-12 7:55 
GeneralRe: User Settings Not Persisting Pin
SledgeHammer019-May-12 8:11
MemberSledgeHammer019-May-12 8:11 
QuestionJaggedarray Null Reference Exception Pin
ariez888-May-12 11:07
Memberariez888-May-12 11:07 
AnswerRe: Jaggedarray Null Reference Exception Pin
Richard MacCutchan8-May-12 22:53
mveRichard MacCutchan8-May-12 22:53 
AnswerRe: Jaggedarray Null Reference Exception Pin
V.8-May-12 22:56
professionalV.8-May-12 22:56 
GeneralRe: Jaggedarray Null Reference Exception Pin
ariez889-May-12 3:49
Memberariez889-May-12 3:49 
GeneralRe: Jaggedarray Null Reference Exception Pin
ariez889-May-12 3:53
Memberariez889-May-12 3:53 
GeneralRe: Jaggedarray Null Reference Exception Pin
V.9-May-12 3:59
professionalV.9-May-12 3:59 
GeneralRe: Jaggedarray Null Reference Exception Pin
ariez889-May-12 8:15
Memberariez889-May-12 8:15 
GeneralRe: Jaggedarray Null Reference Exception Pin
V.9-May-12 20:55
professionalV.9-May-12 20:55 
GeneralRe: Jaggedarray Null Reference Exception Pin
ariez889-May-12 21:02
Memberariez889-May-12 21:02 
GeneralRe: Jaggedarray Null Reference Exception Pin
V.9-May-12 21:11
professionalV.9-May-12 21:11 
QuestionHow to open File using System.Diagnostics.Start in the Base Root directory Pin
nassimnastaran8-May-12 10:52
Membernassimnastaran8-May-12 10:52 
GeneralRe: How to open File using System.Diagnostics.Start in the Base Root directory Pin
nassimnastaran8-May-12 11:33
Membernassimnastaran8-May-12 11:33 
GeneralRe: How to open File using System.Diagnostics.Start in the Base Root directory Pin
Dave Kreskowiak8-May-12 14:15
mveDave Kreskowiak8-May-12 14:15 
AnswerRe: How to open File using System.Diagnostics.Start in the Base Root directory Pin
Luc Pattyn8-May-12 15:07
sitebuilderLuc Pattyn8-May-12 15:07 

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.