Re: How to store user settings in custom/user XML file - not app.confi
From: Angelos Karantzalis (akarantzalis_at_yahoo.com)
Date: 11/03/04
- Next message: Ries Spruit: "Retrieving returnvalue after calling a .Net executable"
- Previous message: VK: "Redirect error"
- In reply to: Todd Beaulieu: "How to store user settings in custom/user XML file - not app.confi"
- Next in thread: UAError: "Re: How to store user settings in custom/user XML file - not app.confi"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 3 Nov 2004 14:28:07 +0200
There is a way to get the current user home directory from the .NET
Environment, although I can't rememeber it off the top of my head. i think
you shouldn't save that data in the App.Config file altogether but rather
save it in a user-specific file, or have an App.Config per user, stored in
their user directory.
Angel
O:]
"Todd Beaulieu" <Todd Beaulieu@discussions.microsoft.com> wrote in message
news:C334EEF3-062E-48E4-AA6B-0DF5D73E660F@microsoft.com...
> Hello,
>
> I'm using the configuration block to store user settings in the app.config
> file. As this exe will reside on a network drive, I can't have users
trying
> to update the master app.config file. I want each user to read/write to a
> file in their user directory.
>
> Does anyone know how to do this?
- Next message: Ries Spruit: "Retrieving returnvalue after calling a .Net executable"
- Previous message: VK: "Redirect error"
- In reply to: Todd Beaulieu: "How to store user settings in custom/user XML file - not app.confi"
- Next in thread: UAError: "Re: How to store user settings in custom/user XML file - not app.confi"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|