473,320 Members | 1,744 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Need help with VS2005 and Settings.settings.

Hello!

I'm a recent user of Visual Studio 2005, but I'm familiar with Visual Studio
2003. One of the things I'm wrestling with is the new configuration
paradigm under VS2005 (.NET 2.0?). I'm using C#.

I'm somewhat familiar with the old-style usage of
Configuration.AppSetting["MySetting"], but I'm told that is deprecated and
the usage is now through ConfigurationManager. After making sure I was
using the right assembly to reference ConfigurationManager, I find that I'm
completely confused about how to use the configuration editor.

I have created a StringCollection in the Settings.settings designer that
contains multiple objects. I see these objects in the app.config file.
But, for the life of me, I can't seem to figure out how to get at this data
in an easy manner.

In an ideal world, I'd like something that just reads MySetting into an
ArrayList or StringCollection.

Any help would be *much* appreciated!

John Peterson
May 27 '06 #1
0 1194

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: AMT2K5 | last post by:
Hello. When I compile my program I recieve lots and lots of the following message which I am trying to decipher. "xxx was declared deprecated". What exactly does that mean?
9
by: Jeff Gaines | last post by:
I have just installed VS 2005 (MSDN version) and I am having problems coping files to the Projects folder while VS2005 is running. The projects folder is on a network share and I have used...
2
by: Jim | last post by:
I'm trying to use the Application Settings option in VS2005 with C#. So far I've no success getting my settings to save or load. Various tutorials on the 'net seem to be outdated. Even MSDN's...
1
by: Ben Fidge | last post by:
Can anyone shed some light on why compiling and running web-apps is so slow in VS2005. I have a solution with 3 web-apps, 20 or so library projects and several winforms apps. All in all it totals...
7
by: Chris | last post by:
Sorry to ask such a simple question, but is there a setting somewhere to get my Build/Release drop down back that was in 2003? I really miss it. Chris
0
by: John Peterson | last post by:
Hello! I'm a recent user of Visual Studio 2005, but I'm familiar with Visual Studio 2003. One of the things I'm wrestling with is the new configuration paradigm under VS2005 (.NET 2.0?). I'm...
5
by: BK-Chicago | last post by:
I am in the midst of porting a massive MFC application from VS6.0 to VS8.0. While i have fixed most of the compile time errors, i do have quite a linker error that i have not been able to resolve....
1
by: CJ | last post by:
I've been using VS2005 for a while, and thought that some features were just missing from the IDE (like 'rebuild solution'). Then I found that if you choose to reset settings and select 'General...
0
by: Academia | last post by:
I have a vs2003 solution that I want to convert to VS2005 format. These projects have been converted and now compile in VS2005. But they had the older format - they is the UI code was in .vb...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.