Config File Question

N

Nicholas Paldino [.NET/C# MVP]

Yoshi,

You could, but you would have to use the classes in the System.Xml
namespace to do it. Also, any changes you make would not be visible until
the next time your application starts up.

Hope this helps.
 
W

Wes

Hello Nicholas Paldino [.NET/C# MVP],

Not to mention it would require you to have write permissions to the program files directory. Which a lot of people really don't like. You are better off writing your settings to the users profile. I have been using XMLSerializer class to serialize/deserialize objects to XML and writing them to the user's profile.

HTH
Wes Haggard
http://weblogs.asp.net/whaggard/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top