a more efficient way of storing settings (with JV components?)

From: Michal Borsuk (MichalBorsuk_at_sitefinder.___RE'MO-VE__.pl.invalid)
Date: 03/29/05


Date: Tue, 29 Mar 2005 16:16:20 +0200


I desinged an app while I was unaware of Jedi components. Since this is
  quite a large project, I have settings organized this way:

- all settings stored in a record
- upon startup settings read, restored by code code
- when Options form is called, it's created, settings are filled by code
(reverse process when options form or main form closed)

As you can imagine this is not very flexible nor easy to use. When
there's the need to add something to settings, besides adding e.g. a
checkbox, I have to code in 4 places.

Question:

Is there a way to store a record/struct (or some other unpublished data)
with e.g. JvAppStorage, or for that matter any other component? Or maybe
  you'd have some other suggestions how to store program settings? (As
for the visual part, I'd already migrated some properties to
JvFormStorage+JvAppIniFileStorage). I came up with this solution: always
keep Options form open (hide instead of destroying), save settings there
w/JvFormStorage, but isn't that quite memory-inefficient?

I'd be very grateful for any hints. Thanks.

-- 
Michal Borsuk
Advanced Call Manager - a call register and manager.
http://acm.sitefinder.pl/


Relevant Pages

  • Peristent Data - Registry, Settings
    ... I have an options form that can be used to configure an ... My original thought was to store this data in the registry; ... What is the relationship between the Settings and a Resource file? ...
    (microsoft.public.dotnet.languages.csharp)
  • Best way to create options form?
    ... I would like to have an options form with my application that the user ... can set different settings. ... Any advice would be great ... Prev by Date: ...
    (microsoft.public.dotnet.languages.vb)
  • Re: install
    ... > blank screen and frozen computer. ... I am puzzled about your not being able to boot into single user mode. ... chipset and the other settings correct in the BIOS. ... using startx before setting your display manager to auto-start again. ...
    (Debian-User)
  • Help with restoring settings.
    ... settings within the Exchange System Manager and managed to ruin things. ... Open Exchange System Manager. ... click the Device Security button. ...
    (microsoft.public.windows.server.sbs)
  • Re: Preserving WinXp Taskmanager Options
    ... manager still opens to the default settings. ... I tried backing up my Task Manager registry settings after changing the Task ...
    (microsoft.public.windowsxp.newusers)