~cch~
Tue Sep 09 10:16:07 CDT 2003
Thz for ur kindly explaination
i'm fresh to .net so i have much to learn
"Herfried K. Wagner [MVP]" <hirf.nosp@m.activevb.de> ¦b¶l¥ó
news:u6KVt2sdDHA.2672@tk2msftngp13.phx.gbl ¤¤¼¶¼g...
> Hello,
>
> "Cyrus Chiu" <CyrusChiu@kfsolution.com> schrieb:
> > I want to ask how to modify the configuration file
> > (windowapplication.exe.config) at runtime and keep
> > this setting for the next time the program start?
>
> config files should not be modified by the application, that's why there
> are no methods available for modifying them. Nevertheless, you can use
> the XML classes provided by the framework to make changes to the config
> files.
>
> The config file should not be used to save user preferences. You can
> use something like this instead:
>
>
http://www.palmbytes.de/content/dotnet/optionslib.htm
>
> --
> Herfried K. Wagner
> MVP ?VB Classic, VB.NET
>
http://www.mvps.org/dotnet
>
>