Re: Application Parameter Storing - Best Practices
From: Jeff Gaines (whitedragon_at_newsgroup.nospam)
Date: 10/12/04
- Next message: nomenklatura: "form inheritence.."
- Previous message: Jason MacKenzie: "Re: Inherited Form"
- In reply to: HughJam: "Application Parameter Storing - Best Practices"
- Next in thread: HughJam: "Re: Application Parameter Storing - Best Practices"
- Reply: HughJam: "Re: Application Parameter Storing - Best Practices"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 12 Oct 2004 08:03:43 -0700
On 12/10/2004 HughJam wrote:
> Hi!
> I am new to Windows Forms, but battle-scarred in WIN32 API Windows.
> I am developing a forms application that needs to save the users
> settings (DB settings, profile selections, etc). I am looking for
> the best place/way to store these settings by user.
>
> The appconfig protocol prevents the application from updating the
> config, and this is probably not the best place to keep user data.
>
> Is the best practice to use the registry? Or, are folks using some
> other place to keep these user settings?
>
> Thank you for your help.
I will be on the lookout for any 'official' answer but I was under the
impression that MS recommended a couple of years ago that app specific
settings were best kept in app config files rather than the registry. I
read this in a Delphi book but I've never been able to confirm it.
I still use ini files but I guess I ought to move to XML files.
An XML config file in the app's directory would probably work and save
the registry from bloat.
-- Jeff Gaines Damerham Hampshire UK
- Next message: nomenklatura: "form inheritence.."
- Previous message: Jason MacKenzie: "Re: Inherited Form"
- In reply to: HughJam: "Application Parameter Storing - Best Practices"
- Next in thread: HughJam: "Re: Application Parameter Storing - Best Practices"
- Reply: HughJam: "Re: Application Parameter Storing - Best Practices"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|