[dba-VB] Application settings

jwcolby jwcolby at colbyconsulting.com
Mon Dec 7 08:03:10 CST 2009


OK, it appears that each project has its own set of properties.  If I set the same property in the 
current project's property set then

Properties.Settings.Default["ServerName"].ToString()

works just fine.

But that is not the behavior I want.  I need a SOLUTION property set, which appears to not exist? 
Which perhaps would explain why those who have done this before roll their own?

Does anyone have code to do this so I don't have to roll my own (a.k.a. reinvent the wheel) too?

John W. Colby
www.ColbyConsulting.com


Shamil Salakhetdinov wrote:
> Hi Gustav and all,
> 
> JC original request was "to access/modify" application settings AFAIU:
> <<<
> I want to create application settings for things like the server instance
> that the program will bang on, the name of my database that I save my custom
> UDFs and SPs in etc.  It is trivial to get there in the interface but Google
> is not my friend tonight in discovering how to access / modify them through
> code.
> 
> --
> Shamil
> 
> -----Original Message-----
> From: dba-vb-bounces at databaseadvisors.com
> [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock
> Sent: Saturday, December 05, 2009 1:19 AM
> To: dba-vb at databaseadvisors.com
> Subject: Re: [dba-VB] Application settings
> 
> Hi Shamil
> 
> I guess I'm too busy today. I read it as JC wanted to create these on the
> fly ...
> 
> /gustav
> 
> 
> <<< snip >>>
>  
> 
> __________ Information from ESET NOD32 Antivirus, version of virus signature
> database 4661 (20091204) __________
> 
> The message was checked by ESET NOD32 Antivirus.
> 
> http://www.esetnod32.ru
>  
> 
> _______________________________________________
> dba-VB mailing list
> dba-VB at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/dba-vb
> http://www.databaseadvisors.com
> 
> 



More information about the dba-VB mailing list