Click here to Skip to main content
15,895,799 members
Home / Discussions / C#
   

C#

 
QuestionCan I display links in a ListView's detail mode? Pin
NarVish8-Apr-13 20:33
NarVish8-Apr-13 20:33 
Questionc# application don't work on xp Pin
Member 99694278-Apr-13 10:39
Member 99694278-Apr-13 10:39 
AnswerRe: c# application don't work on xp Pin
fjdiewornncalwe8-Apr-13 10:54
professionalfjdiewornncalwe8-Apr-13 10:54 
AnswerRe: c# application don't work on xp Pin
Manfred Rudolf Bihy8-Apr-13 20:02
professionalManfred Rudolf Bihy8-Apr-13 20:02 
Questionadvanced settings Pin
bfis1081378-Apr-13 10:13
bfis1081378-Apr-13 10:13 
AnswerRe: advanced settings Pin
SledgeHammer018-Apr-13 10:15
SledgeHammer018-Apr-13 10:15 
GeneralRe: advanced settings Pin
bfis1081378-Apr-13 10:18
bfis1081378-Apr-13 10:18 
GeneralRe: advanced settings Pin
SledgeHammer018-Apr-13 11:16
SledgeHammer018-Apr-13 11:16 
On Windows 7 it'll put it in C:\Users\<username>\AppData\<CompanyName>\<long gibberish directory name that begins with your EXE name>\<version>\user.config

Your code looks like it should work, just make sure you call Properties.Settings.Default.Save(); and write the value to Properties.Settings.Default.PropName.

How are you specifying versions? If you are doing the auto increment version thing (or you change your version number between runs), there is an additional step you need to do to migrate the settings. You will need to call UpgradeSettings(). However, that is only needed when the version number changes. If you are using auto increment version numbers, your version will change everytime you compile, so you'd need to call UpgradeSettings() all the time.

If you are just leaving it at 1.0.0.0 or whatever for now, UpgradeSettings() is not the issue, just keep in mind you'll need to use it in the real, final implementation.
GeneralRe: advanced settings Pin
bfis1081378-Apr-13 18:22
bfis1081378-Apr-13 18:22 
GeneralRe: advanced settings Pin
SledgeHammer018-Apr-13 18:33
SledgeHammer018-Apr-13 18:33 
GeneralRe: advanced settings Pin
bfis1081378-Apr-13 18:45
bfis1081378-Apr-13 18:45 
GeneralRe: advanced settings Pin
SledgeHammer018-Apr-13 18:48
SledgeHammer018-Apr-13 18:48 
GeneralRe: advanced settings Pin
bfis1081378-Apr-13 18:51
bfis1081378-Apr-13 18:51 
GeneralRe: advanced settings Pin
SledgeHammer018-Apr-13 19:08
SledgeHammer018-Apr-13 19:08 
GeneralRe: advanced settings Pin
bfis1081378-Apr-13 21:16
bfis1081378-Apr-13 21:16 
AnswerRe: advanced settings Pin
Alan N9-Apr-13 1:54
Alan N9-Apr-13 1:54 
GeneralRe: advanced settings Pin
bfis1081379-Apr-13 2:03
bfis1081379-Apr-13 2:03 
GeneralRe: advanced settings Pin
Alan N9-Apr-13 2:31
Alan N9-Apr-13 2:31 
GeneralRe: advanced settings Pin
bfis1081378-Apr-13 21:47
bfis1081378-Apr-13 21:47 
Questioncrystal report problem remove one row Pin
mhd.sbt8-Apr-13 8:30
mhd.sbt8-Apr-13 8:30 
AnswerRe: crystal report problem remove one row Pin
Sivaraman Dhamodharan8-Apr-13 17:29
Sivaraman Dhamodharan8-Apr-13 17:29 
GeneralRe: crystal report problem remove one row Pin
Member 99567779-Apr-13 0:19
Member 99567779-Apr-13 0:19 
Questionwhere can i find flow free puzzle game Pin
GREG_DORIANcod8-Apr-13 6:14
professionalGREG_DORIANcod8-Apr-13 6:14 
AnswerRe: where can i find flow free puzzle game Pin
NotPolitcallyCorrect8-Apr-13 7:16
NotPolitcallyCorrect8-Apr-13 7:16 
QuestionC# and attachments Pin
annex457-Apr-13 4:09
annex457-Apr-13 4:09 

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.