Hi Sean: That is indeed a good practice.
I didnt like clunking around with writing to those files so ended up using serialization of a class. That said, in a professional environment, corporate, you will most likely use the config files. I use them extensively in asp.net apps.
Rick USA
----- Original Message ----- From: "Sean Farrow" <[email protected]>
To: <[email protected]>
Sent: Thursday, March 28, 2013 10:28 AM
Subject: RE: Question: Window-Eyes and .NET.


Hi,

To answer the question:
The best practice in .net for storing configuration data is to use an app.config if the setting is application wide, or a user.config if the setting pertains to each user of the machine--bare in mind that whe placement of the user specific settings files will vary on xp/vista though! I use a screen reader/braille display to program and if I'm adding resources (control strings etc) to an application I'll first write them in a text editor in the format:
Name=value
And then convert them to the required format using the resgen tool. This way I get a strongly typed class I can access from my application.
If you need any further help just ask.
Cheers and hope some of this helps.
Sean.

-----Original Message-----
From: Kevin Morales [mailto:[email protected]]
Sent: 28 March 2013 13:28
To: [email protected]
Subject: Re: Question: Window-Eyes and .NET.

Thank you Rick! In fact, admittedly, I do happen to have a question:
How do you particularly deal with designing user settings? What tools do you use? I found that I actually need to store user data and saveit to disk; I found ways to do it, but I'm wondering how other .NET programmers like you deal with this. Do you use Visual Studio? Do you need a screen reader to program or are you able to see the screen yourself?

On 3/28/13, RicksPlace <[email protected]> wrote:
Hi Kevin:
That sounds like a really excellent project.
I am pretty good with .net programming, vb.net in particular since I
hate curly braces, so if you need some help just post up any questions
or problems and I will see if I can help out with an answer or 2.
Rick USA




Reply via email to