Click here to Skip to main content
16,010,394 members
Home / Discussions / C#
   

C#

 
AnswerRe: Thread Safe Generic Dictionary Collection Pin
Ennis Ray Lynch, Jr.24-Jun-08 6:01
Ennis Ray Lynch, Jr.24-Jun-08 6:01 
GeneralRe: Thread Safe Generic Dictionary Collection Pin
Waleed Eissa24-Jun-08 14:10
Waleed Eissa24-Jun-08 14:10 
AnswerRe: Thread Safe Generic Dictionary Collection Pin
Daniel Grunwald24-Jun-08 8:31
Daniel Grunwald24-Jun-08 8:31 
GeneralRe: Thread Safe Generic Dictionary Collection Pin
Waleed Eissa24-Jun-08 14:48
Waleed Eissa24-Jun-08 14:48 
AnswerRe: Thread Safe Generic Dictionary Collection Pin
BrianMarkR4-Dec-08 7:25
BrianMarkR4-Dec-08 7:25 
QuestionSettings reset to default when version of application changes. Pin
Simon P Stevens24-Jun-08 5:02
Simon P Stevens24-Jun-08 5:02 
AnswerRe: Settings reset to default when version of application changes. Pin
Ennis Ray Lynch, Jr.24-Jun-08 5:05
Ennis Ray Lynch, Jr.24-Jun-08 5:05 
GeneralRe: Settings reset to default when version of application changes. Pin
Simon P Stevens24-Jun-08 5:17
Simon P Stevens24-Jun-08 5:17 
Thanks Ennis

Ennis Ray Lynch, Jr. wrote:
The best way is to write specific code to seek the previous versions configuration and import it into the new version.


Tricky because the folder the config file is stored in looks like some form of hash combined with part of the assembly name. I don't know the rules for generating this path.


Ennis Ray Lynch, Jr. wrote:
This is because future versions, could in theory, break and not rely on the same configuration information.


Thats fair enough, I can kind of understand why MS didn't just make it work. Weirdly though, I wrote quick test app to make sure it wasn't something wrong with my code, and it behaved as I described (settings reset after version increase). But then I went back to it after writing the post, and now it works fine Confused | :confused: settings are maintained between version increases exactly as I want them to be.

Ennis Ray Lynch, Jr. wrote:
Otherwise, just use non-api methods to access folders and pick a good place ... like create a common in your company folder created for the user for the version information.


Yeah, I thought about doing this, but it feels like going back to the old .ini file way of doing things. I thought 'settings' was supposed to remove the need for doing messy things like this.

Simon

AnswerRe: Settings reset to default when version of application changes. Pin
paas24-Jun-08 6:59
paas24-Jun-08 6:59 
GeneralRe: Settings reset to default when version of application changes. Pin
Simon P Stevens24-Jun-08 10:02
Simon P Stevens24-Jun-08 10:02 
QuestionMultiselect in a datagridview Pin
Hampus@foi24-Jun-08 4:53
Hampus@foi24-Jun-08 4:53 
AnswerRe: Multiselect in a datagridview Pin
leppie24-Jun-08 4:56
leppie24-Jun-08 4:56 
GeneralRe: Multiselect in a datagridview Pin
Hampus@foi24-Jun-08 20:58
Hampus@foi24-Jun-08 20:58 
AnswerRe: Multiselect in a datagridview Pin
Harvey Saayman24-Jun-08 4:57
Harvey Saayman24-Jun-08 4:57 
GeneralRe: Multiselect in a datagridview Pin
Hampus@foi24-Jun-08 20:57
Hampus@foi24-Jun-08 20:57 
GeneralRe: Multiselect in a datagridview Pin
Harvey Saayman24-Jun-08 21:01
Harvey Saayman24-Jun-08 21:01 
QuestionError while publishing winforms Pin
Rashmi_Karnam24-Jun-08 4:06
Rashmi_Karnam24-Jun-08 4:06 
AnswerRe: Error while publishing winforms Pin
Parwej Ahamad24-Jun-08 4:47
professionalParwej Ahamad24-Jun-08 4:47 
GeneralRe: Error while publishing winforms Pin
Rashmi_Karnam26-Jun-08 13:23
Rashmi_Karnam26-Jun-08 13:23 
AnswerRe: Error while publishing winforms Pin
Ashfield24-Jun-08 21:29
Ashfield24-Jun-08 21:29 
GeneralRe: Error while publishing winforms Pin
Rashmi_Karnam26-Jun-08 13:26
Rashmi_Karnam26-Jun-08 13:26 
QuestionModem Pin
ellllllllie24-Jun-08 4:03
ellllllllie24-Jun-08 4:03 
AnswerRe: Modem Pin
Ennis Ray Lynch, Jr.24-Jun-08 5:03
Ennis Ray Lynch, Jr.24-Jun-08 5:03 
QuestionBinding Parameter fields in Crystal Reports directly to a Combobox value...........Please Help...........!!! Pin
Verghese24-Jun-08 3:46
Verghese24-Jun-08 3:46 
AnswerDouble Post Pin
DaveyM6924-Jun-08 3:59
professionalDaveyM6924-Jun-08 3:59 

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.