PC Review


Reply
Thread Tools Rate Thread

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

 
 
qushui
Guest
Posts: n/a
 
      18th Mar 2005
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.

--
**************
ÂäϼÓë¹ÂðÍÆë·É
ÇïË®¹²³¤Ììһɫ
**************


 
Reply With Quote
 
 
 
 
VJ
Guest
Posts: n/a
 
      18th Mar 2005
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

"qushui" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> 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.
>
> --
> **************
> ÂäϼÓë¹ÂðÍÆë·É
> ÇïË®¹²³¤Ììһɫ
> **************
>
>



 
Reply With Quote
 
Olorin
Guest
Posts: n/a
 
      18th Mar 2005
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).

 
Reply With Quote
 
qushui
Guest
Posts: n/a
 
      18th Mar 2005
I can't visit your blog
http://olorinblog.blogspot.com/


"Olorin" <(E-Mail Removed)> ????
news:(E-Mail Removed)...
> 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).
>



 
Reply With Quote
 
Olorin
Guest
Posts: n/a
 
      18th Mar 2005
Quote:
I can't visit your blog
http://olorinblog.blogspot.com/
Odd... seems to work from my end...
try again (might have been a temporary problem on the site hosting it),
and also, if you want, try the direct links to the entries about the
EntLib Config Block:
http://olorinblog.blogspot.com/2005/...-hard-way.html
and
http://olorinblog.blogspot.com/2005/...fessional.html

HTH,
F.O.R.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Microsoft Configuration Block and Enterprise library configuration tool Mark Microsoft ASP .NET 0 15th Feb 2006 11:27 PM
Enterprise Library Configuration Block José Miguel Microsoft VB .NET 1 23rd Jun 2005 04:40 AM
Enterprise Library - Configuration Application Block =?Utf-8?B?RGFubnkgVi4=?= Microsoft Dot NET Framework 0 1st Apr 2005 10:47 AM
Enterprise Library - Configuration Application Block =?Utf-8?B?RGFubnkgVi4=?= Microsoft Dot NET Framework 0 1st Apr 2005 10:41 AM
Problem with enterprise application block - data block Showjumper Microsoft ASP .NET 1 19th Mar 2005 03:48 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:44 PM.