"Hillbilly" wrote:
// No luck required, this search works very well for me...
c# ConfigurationManager site:msdn.microsoft.com
"Ed Cohen" <Ed*****@discussions.microsoft.comwrote in message
news:C7**********************************@microsof t.com...
I want to utilize the application settings that are provided in VS 2005 Pro
AND access them via C#. The examples on line are all in VB.NET. I have
looked
on-line for the appropriate classes (Settings), but everything is in VB. I
have not had any luck. If anyone has done this in C#.NET please post some
code that does this. Thank you
Ed Cohen
First of all, thank you for your response. I went to those sections in MSDN,
and tried the various examples but I still could not get access to the
Settings part of my project. In VB you have the My.Settings object. Ok, what
I have done is to create a new setting, called MySQLConnection in the
project's settings section. I am using VS 2005 pro. I want to be able to
access this connection string in the applications settings instead of hard
coding it. So, I really need some extra help here. I get close, but no cigar!
Thanks.
Ed Cohen