Is that possible change attributes values that belong the app.config?
Example i want to change the
<ConfigProvider> encrypted="true" to "false".
Can somebody help me???
Truong Hong Thi - 09 Nov 2005 02:12 GMT
It is just a well-formed XML document, so you can load and change it as
any other XML documents.
However, as I see it, configuration should be maintained by the admin,
maybe with Notepad or some admin tool, and should not be updated
directly by your app unless you are writting that tool itself, or
writting an installation packake. If it is to store user preferences,
store in the registry or a separate file instead.
----
Thi - http://thith.blogspot.com
Marc Scheuner [MVP ADSI] - 09 Nov 2005 14:19 GMT
>Is that possible change attributes values that belong the app.config?
>Example i want to change the
><ConfigProvider> encrypted="true" to "false".
>Can somebody help me???
You cannot do this directly in VS.NET 2002/03 - it has been added in
the .NET 2.0 / Visual Studio 2005 release timeframe.
For the 2002/2003 versions, you would have to load the app.config as
an XML file, change what needs to be changed, and save it back.
Marc