Advertisement

08.08.2007 at 07:44AM PDT, ID: 22749411
[x]
Attachment Details

Expose my.settings outside of project / namespace

Asked by IOFDSYS in Microsoft Visual Basic.Net, .NET

Tags: projects, access

Does anyone know of an efficient way to expose the my.settings outside of the current project?

I ask because ideally, I would like to create project called Environment, that would hold and manage all my user preferences. Since VB.NET has such a nice method for saving settings (my.settings) I would prefer to save it there. But, my other components in different projects (all under the common solution) would need access to those settings. I know that I can create properties in my projects to explicitly pass the values, but that seems sloppy since my number of settings may grow in the future.

I guess I am asking if there is a way to do something like:

<namespace>.my.settings.zzzzz

Thanks!Start Free Trial
 
Keywords: Expose my.settings outside of project…
 
Loading Advertisement...
 
[+][-]08.10.2007 at 10:18AM PDT, ID: 19671787

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Microsoft Visual Basic.Net, .NET
Tags: projects, access
Sign Up Now!
Solution Provided By: Svetlin_Panayotov
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_1_20070628