473,396 Members | 2,018 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,396 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 981

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....
0
by: rfloyd71 | last post by:
I have installed VS2005 a few times now but each time I try to debug it cascades every debug window and when i try to dock these windows the setting is not saved the next time i run debug. Any...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.