How can I use Ms Enterprise Configuration Application Block modify app.conifg

  • Thread starter Thread starter qushui
  • Start date Start date
Q

qushui

Now I was writing a windows form program which need be modified its config
file by program.
How can I do? Did anyone catch this problem.
Thank you.
 
Haven't tried this... though.. the App.config looks like a structured XML..
so you could use DataSets to read it.. not sure of update'ing.. give it a
short...

But as far I know the use of App.Config is read-only purposes ...

VJ
 
Check out my entries in my blog about the APp Config block:
http://olorinblog.blogspot.com/

the oldest of the two entries shows you what to do by hand,
the second entry shows you how to use the Console Configuration.

HTH,
F.O.R.

PS: short answer is:
open your app.config file with the configuration console, or open up
the files where you have your config settings by hand (first method is
more secure since you get the ConfigConsole to check for you that you
put meaningfull data).
 
Back
Top