How to access MySettings from a DLL?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Rich

    How to access MySettings from a DLL?

    Hi,

    I have a vb.net solution created in Studio 2008 running on .Net 2.0.

    The solution contains 2 projects, a main Windows app and a business logic
    project that compiles to a separate DLL.

    In the main app I have used MyProject.Setti ngs to setup connection strings
    etc... but I can't access these config keys from the business logic project
    (DLL).

    Does anyone know how to get my business logic project to 'see' the
    MyProject.Setti ngs keys from the main application?

    --

    Rich


    ....talking pollocks since 1996


  • huntco@gmail.com

    #2
    Re: How to access MySettings from a DLL?

    On Mar 10, 10:15 am, "Rich" <nos...@nowhere .comwrote:
    Hi,
    >
    I have a vb.net solution created in Studio 2008 running on .Net 2.0.
    >
    The solution contains 2 projects, a main Windows app and a business logic
    project that compiles to a separate DLL.
    >
    In the main app I have used MyProject.Setti ngs to setup connection strings
    etc... but I can't access these config keys from the business logic project
    (DLL).
    >
    Does anyone know how to get my business logic project to 'see' the
    MyProject.Setti ngs keys from the main application?
    >
    --
    >
    Rich
    >

    ...talking pollocks since 1996
    Rich,

    Hit the same roadblock myself a while back. Finally worked through it
    and posted the lessons learned/how I got it working at
    http://tracyhunt.blogspot.com/2007/1...g-net-dll.html.

    Tracy

    Comment

    Working...