Click here to Skip to main content
11,582,850 members (77,867 online)

Welcome to the Lounge

   

For lazing about and discussing anything in a software developer's life that takes your fancy except programming questions.

Technical discussions are encouraged, but click here to ask your programming question.

The Lounge is rated PG. If you're about to post something you wouldn't want your kid sister to read then don't post it. No flame wars, no abusive conduct, no programming questions and please don't post ads.
 
GeneralRe: Hooah! Office 365 subscription for MSDN subscribers. Pin
bryce4-Mar-13 14:02
memberbryce4-Mar-13 14:02 
GeneralJust lost it in the office Pin
The Bhai4-Mar-13 4:21
memberThe Bhai4-Mar-13 4:21 
GeneralRe: Just lost it in the office Pin
ChrisElston4-Mar-13 4:22
memberChrisElston4-Mar-13 4:22 
GeneralRe: Just lost it in the office Pin
wizardzz4-Mar-13 5:34
memberwizardzz4-Mar-13 5:34 
GeneralRe: Just lost it in the office Pin
The Bhai4-Mar-13 23:07
memberThe Bhai4-Mar-13 23:07 
GeneralRe: Just lost it in the office Pin
wizardzz5-Mar-13 4:32
memberwizardzz5-Mar-13 4:32 
GeneralOnly Fools and Horses Pin
The Bhai4-Mar-13 2:56
memberThe Bhai4-Mar-13 2:56 
GeneralRe: Only Fools and Horses Pin
ChrisElston4-Mar-13 3:00
memberChrisElston4-Mar-13 3:00 
GeneralRe: Only Fools and Horses Pin
The Bhai4-Mar-13 3:04
memberThe Bhai4-Mar-13 3:04 
GeneralRe: Only Fools and Horses Pin
ChrisElston4-Mar-13 3:13
memberChrisElston4-Mar-13 3:13 
GeneralRe: Only Fools and Horses Pin
Bergholt Stuttley Johnson4-Mar-13 3:47
memberBergholt Stuttley Johnson4-Mar-13 3:47 
GeneralRe: Only Fools and Horses Pin
The Bhai4-Mar-13 3:50
memberThe Bhai4-Mar-13 3:50 
GeneralRe: Only Fools and Horses Pin
Bergholt Stuttley Johnson4-Mar-13 5:20
memberBergholt Stuttley Johnson4-Mar-13 5:20 
GeneralWhat technique do you use to persist state? Pin
Marc Clifton4-Mar-13 2:18
protectorMarc Clifton4-Mar-13 2:18 
No, not a programming question, and no, not a "recover from a Friday drinking binge" question.

Just curious, what different techniques people use (specifically for WinForm apps). Do you roll your own persistence class? If you're a .NET developer, do you use ApplicationSettingsBase[^] ?

I'm also curious, if you develop client/server apps, if you store your app's state information locally or in a database so that your user can use any client machine and the UI is configured to their preferences ?

And yes, I'm talking about UI things, such as last window size and location, but also more interesting things such as what columns the user selected to be visible on a grid, what display order, what sort order, etc. Same with, say, a tree control - what nodes were expanded and what nodes weren't? Plus things like "exit without asking" info, and so forth.

Heck, do you even save the user's preferences / state of the UI?

Marc

GeneralRe: What technique do you use to persist state? Pin
c24234-Mar-13 2:26
memberc24234-Mar-13 2:26 
GeneralRe: What technique do you use to persist state? Pin
S Douglas4-Mar-13 19:54
memberS Douglas4-Mar-13 19:54 
GeneralRe: What technique do you use to persist state? Pin
DaveAuld4-Mar-13 2:30
protectorDaveAuld4-Mar-13 2:30 
GeneralRe: What technique do you use to persist state? Pin
DaveAuld4-Mar-13 2:32
protectorDaveAuld4-Mar-13 2:32 
GeneralRe: What technique do you use to persist state? Pin
Marc Clifton4-Mar-13 4:03
protectorMarc Clifton4-Mar-13 4:03 
GeneralRe: What technique do you use to persist state? Pin
leppie4-Mar-13 2:32
memberleppie4-Mar-13 2:32 
GeneralRe: What technique do you use to persist state? Pin
Ravi Bhavnani4-Mar-13 2:40
memberRavi Bhavnani4-Mar-13 2:40 
GeneralRe: What technique do you use to persist state? Pin
Marc Clifton4-Mar-13 4:04
protectorMarc Clifton4-Mar-13 4:04 
GeneralRe: What technique do you use to persist state? Pin
harold aptroot4-Mar-13 2:41
memberharold aptroot4-Mar-13 2:41 
GeneralRe: What technique do you use to persist state? Pin
CPallini4-Mar-13 2:53
mvpCPallini4-Mar-13 2:53 
GeneralRe: What technique do you use to persist state? Pin
Nagy Vilmos4-Mar-13 2:59
memberNagy Vilmos4-Mar-13 2:59 
GeneralRe: What technique do you use to persist state? Pin
ChrisElston4-Mar-13 3:14
memberChrisElston4-Mar-13 3:14 
GeneralRe: What technique do you use to persist state? Pin
Marc Clifton4-Mar-13 4:10
protectorMarc Clifton4-Mar-13 4:10 
GeneralRe: What technique do you use to persist state? Pin
Forogar4-Mar-13 4:33
memberForogar4-Mar-13 4:33 
GeneralRe: What technique do you use to persist state? Pin
Marc Clifton4-Mar-13 4:46
protectorMarc Clifton4-Mar-13 4:46 
GeneralRe: What technique do you use to persist state? Pin
Marco Bertschi4-Mar-13 3:20
memberMarco Bertschi4-Mar-13 3:20 
GeneralRe: What technique do you use to persist state? Pin
OriginalGriff4-Mar-13 3:32
mvpOriginalGriff4-Mar-13 3:32 
GeneralRe: What technique do you use to persist state? Pin
Ennis Ray Lynch, Jr.4-Mar-13 3:53
memberEnnis Ray Lynch, Jr.4-Mar-13 3:53 
GeneralRe: What technique do you use to persist state? Pin
Marc Clifton4-Mar-13 4:18
protectorMarc Clifton4-Mar-13 4:18 
GeneralRe: What technique do you use to persist state? Pin
Ravi Bhavnani4-Mar-13 6:32
memberRavi Bhavnani4-Mar-13 6:32 
GeneralRe: What technique do you use to persist state? Pin
Kabwla.Phone5-Mar-13 6:06
memberKabwla.Phone5-Mar-13 6:06 
GeneralRe: What technique do you use to persist state? Pin
Klaus-Werner Konrad4-Mar-13 4:05
memberKlaus-Werner Konrad4-Mar-13 4:05 
GeneralRe: What technique do you use to persist state? Pin
Marc Clifton4-Mar-13 4:17
protectorMarc Clifton4-Mar-13 4:17 
GeneralRe: What technique do you use to persist state? Pin
Klaus-Werner Konrad4-Mar-13 5:07
memberKlaus-Werner Konrad4-Mar-13 5:07 
GeneralRe: What technique do you use to persist state? Pin
wizardzz4-Mar-13 4:13
memberwizardzz4-Mar-13 4:13 
GeneralRe: What technique do you use to persist state? Pin
Eddy Vluggen4-Mar-13 5:00
mvpEddy Vluggen4-Mar-13 5:00 
GeneralRe: What technique do you use to persist state? Pin
Marc Clifton4-Mar-13 6:04
protectorMarc Clifton4-Mar-13 6:04 
GeneralRe: What technique do you use to persist state? Pin
S Houghtelin4-Mar-13 5:11
memberS Houghtelin4-Mar-13 5:11 
GeneralRe: What technique do you use to persist state? Pin
PIEBALDconsult4-Mar-13 5:19
memberPIEBALDconsult4-Mar-13 5:19 
GeneralRe: What technique do you use to persist state? Pin
BobJanova4-Mar-13 6:42
memberBobJanova4-Mar-13 6:42 
GeneralRe: What technique do you use to persist state? Pin
Gary Wheeler4-Mar-13 7:16
memberGary Wheeler4-Mar-13 7:16 
GeneralRe: What technique do you use to persist state? Pin
Kabwla.Phone5-Mar-13 6:11
memberKabwla.Phone5-Mar-13 6:11 
GeneralRe: What technique do you use to persist state? Pin
_Maxxx_4-Mar-13 10:06
member_Maxxx_4-Mar-13 10:06 
GeneralRe: What technique do you use to persist state? Pin
Mycroft Holmes4-Mar-13 13:29
memberMycroft Holmes4-Mar-13 13:29 
GeneralRe: What technique do you use to persist state? Pin
Brady Kelly4-Mar-13 20:39
memberBrady Kelly4-Mar-13 20:39 
GeneralRe: What technique do you use to persist state? Pin
Marc Clifton5-Mar-13 3:01
protectorMarc Clifton5-Mar-13 3:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web04 | 2.8.150603.1 | Last Updated 7 Jul 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid