Re: access the calling user's config info from a dll?

Tech-Archive recommends: Fix windows errors by optimizing your registry



"Kevin Spencer" <uce@xxxxxxx> wrote in message
news:%2338aWQAqGHA.2452@xxxxxxxxxxxxxxxxxxxxxxx
Hi Barry,

I believe you may find your answer here:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/persistappsettnet.asp

I have not done this, but from what I read, it seems that you can access
the ApplicationSettings via the Application class. The Application class
is public and static, so you should be able to do it.

Thanks Kevin,

The reference seems to relate to roll your own config handling mechanisms. I
was trying to use the new facilities that came with V2
(ApplicationSettingBase and
ConfigurationManager classes), however it does seem that they extend to my
situation.

I have found a solution now by following Norman Yuan's from suggestion
elsewhere in this thread.

regards
Barry Mossman


.