"Jason Newell" wrote:
> Baron,
>
> App.Config is only for executables. If you want to use something like
> an App.Config for a .dll, you'd have to write your own AppSettings class
> to manage it.
>
> To quote
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vboriintroductiontoapplicationsettingstorage.asp
>
> "You can use dynamic properties in any application that compiles to an
> ..exe file. Projects that compile a DLL cannot use dynamic properties
> directly..."
>
> Jason
>
> Baron Ng wrote:
> > Hi,
> > I wrote a COM (ABC.dll) using VS.Net 2005
> > since it is not an application; I don't know how it can access app.config
> > (ABC.dll.config)
> >
> > I tried ConfigurationManager.AppSettings but it didn't work
> >
> > any idea?!
> >
> > Thanks!