Hi,
I'm writing a two project application. Lets call the first project, ProjectA and the second project ProjectB.
ProjectA contains all the application settings and is a WinForms application. ProjectB is a Service that needs to read ProjectA's settings. So here's the steps I've followed.
1. Make ProjectA's Settings Property Access Modifier Public instead of Internal
2. Add a reference to ProjectA in ProjectB
3. Add a Using to define ProjectA's Namespace in ProjectB
4. Code like this:
bLvl6Rpt = ProjectA.Properties.Settings.Default.Lvl6Report;
What I get in bLvl6Rpt is Lvl6Report's default value, not what is actually set. How do I read the actual settings from ProjectA? I know I can do this easy with an XML file, however I'm trying to learn how this works.
Thank you,
Glenn