Configuration file ?

  • Thread starter Thread starter Serge Calderara
  • Start date Start date
S

Serge Calderara

Dear all,

I need to implement a configuration file for my
application.Based on that I need to hget following
information:

1- How to get the current execution path of my application?
2- how a configuration file can be access from an external
assembly?

thnaks for your comments
regards
serge
 
1- How to get the current execution path of my application?

I believe you should use System.AppDomain.Current.BaseDirectory.
2- how a configuration file can be access from an external
assembly?

It can find the config file and read it as XML.

-mike
MVP
 
Back
Top