Click here to Skip to main content
15,908,675 members
Home / Discussions / C#
   

C#

 
GeneralRe: Changing the "user" configuration file Pin
SledgeHammer0124-Apr-13 4:45
SledgeHammer0124-Apr-13 4:45 
1) Why would you have a single configuration file for every user? Windows is a user based OS. Every user should be able to configure the application how they like. You have default common options like paths and stuff, but layout, window positions, usernames / passwords are all unique to a user.
2) The .config file goes in a directory in the user application data folder. So each user gets their own copy.
3) The path to the .config file is based on the executing EXE as well as the version #, so if you change the EXE (i.e. running in the debugger) or the version #, you'll get a different folder and thus the options will be "reset"
4) The Upgrade method will handle a version # change, it will not handle the EXE change or user change.
GeneralRe: Changing the "user" configuration file Pin
Boris The Bold24-Apr-13 4:54
Boris The Bold24-Apr-13 4:54 
GeneralRe: Changing the "user" configuration file Pin
SledgeHammer0124-Apr-13 6:40
SledgeHammer0124-Apr-13 6:40 
GeneralRe: Changing the "user" configuration file Pin
Boris The Bold24-Apr-13 21:31
Boris The Bold24-Apr-13 21:31 
GeneralRe: Changing the "user" configuration file Pin
Pete O'Hanlon24-Apr-13 23:51
mvePete O'Hanlon24-Apr-13 23:51 
GeneralRe: Changing the "user" configuration file Pin
Boris The Bold25-Apr-13 1:01
Boris The Bold25-Apr-13 1:01 
GeneralRe: Changing the "user" configuration file Pin
Pete O'Hanlon25-Apr-13 1:11
mvePete O'Hanlon25-Apr-13 1:11 
QuestionC# desktop runtime parameters Pin
dcof22-Apr-13 11:40
dcof22-Apr-13 11:40 
AnswerRe: C# desktop runtime parameters Pin
Clifford Nelson22-Apr-13 15:23
Clifford Nelson22-Apr-13 15:23 
GeneralRe: C# desktop runtime parameters Pin
dcof22-Apr-13 16:15
dcof22-Apr-13 16:15 
QuestionRe: C# desktop runtime parameters Pin
Clifford Nelson23-Apr-13 5:17
Clifford Nelson23-Apr-13 5:17 
AnswerRe: C# desktop runtime parameters Pin
Richard MacCutchan22-Apr-13 21:09
mveRichard MacCutchan22-Apr-13 21:09 
AnswerRe: C# desktop runtime parameters Pin
Bernhard Hiller22-Apr-13 21:11
Bernhard Hiller22-Apr-13 21:11 
AnswerRe: C# desktop runtime parameters Pin
jschell24-Apr-13 9:03
jschell24-Apr-13 9:03 
Questionvideo streaming Pin
Talal H.Daoud22-Apr-13 9:11
Talal H.Daoud22-Apr-13 9:11 
AnswerRe: video streaming Pin
Jasmine250122-Apr-13 11:17
Jasmine250122-Apr-13 11:17 
QuestionRe: video streaming Pin
ZurdoDev23-Apr-13 9:09
professionalZurdoDev23-Apr-13 9:09 
AnswerRe: video streaming Pin
Dave Kreskowiak23-Apr-13 9:30
mveDave Kreskowiak23-Apr-13 9:30 
AnswerRe: video streaming Pin
kburman624-Apr-13 6:18
professionalkburman624-Apr-13 6:18 
QuestionFibonacci sequence Pin
Sottyoru22-Apr-13 6:47
Sottyoru22-Apr-13 6:47 
GeneralRe: Fibonacci sequence Pin
harold aptroot22-Apr-13 7:23
harold aptroot22-Apr-13 7:23 
GeneralRe: Fibonacci sequence Pin
Jasmine250122-Apr-13 7:25
Jasmine250122-Apr-13 7:25 
GeneralRe: Fibonacci sequence Pin
OriginalGriff22-Apr-13 8:51
mveOriginalGriff22-Apr-13 8:51 
GeneralRe: Fibonacci sequence Pin
PIEBALDconsult22-Apr-13 15:37
mvePIEBALDconsult22-Apr-13 15:37 
GeneralRe: Fibonacci sequence Pin
Manfred Rudolf Bihy22-Apr-13 20:18
professionalManfred Rudolf Bihy22-Apr-13 20:18 

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.