473,386 Members | 2,078 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,386 software developers and data experts.

2003 to 2005 conversion problem

Bob
In VB.NEt 2003 I had a line
Dim strTemp As String = ConfigurationSettings.AppSettings.Get(key)

Converyting to 2005 Gives a warning that this is obsolete. they say its been
replaced with

System.configuration.configurationManager.appsetin gs but writing that in
does not work Configuration manager is not in the intellicode of
system.configuration so you get anopther err msge <GG>

Can anyone help me with this I'm new to 2005. Where can I get the sample
code to get an appsetting correctly from the config file using 2005?

Thanks for any help

Bob


May 5 '06 #1
2 977
CollectionManager is in the same namespace but in a different assembly so
you need to add a reference to System.Configuration in your project.

/claes

"Bob" <bd*****@sgiims.com> wrote in message
news:ua**************@TK2MSFTNGP04.phx.gbl...
In VB.NEt 2003 I had a line
Dim strTemp As String = ConfigurationSettings.AppSettings.Get(key)

Converyting to 2005 Gives a warning that this is obsolete. they say its
been replaced with

System.configuration.configurationManager.appsetin gs but writing that in
does not work Configuration manager is not in the intellicode of
system.configuration so you get anopther err msge <GG>

Can anyone help me with this I'm new to 2005. Where can I get the sample
code to get an appsetting correctly from the config file using 2005?

Thanks for any help

Bob



May 5 '06 #2
Bob
Thanks Claes
"Claes Bergefall" <lo*****@nospam.nospam> wrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
CollectionManager is in the same namespace but in a different assembly so
you need to add a reference to System.Configuration in your project.

/claes

"Bob" <bd*****@sgiims.com> wrote in message
news:ua**************@TK2MSFTNGP04.phx.gbl...
In VB.NEt 2003 I had a line
Dim strTemp As String = ConfigurationSettings.AppSettings.Get(key)

Converyting to 2005 Gives a warning that this is obsolete. they say its
been replaced with

System.configuration.configurationManager.appsetin gs but writing that in
does not work Configuration manager is not in the intellicode of
system.configuration so you get anopther err msge <GG>

Can anyone help me with this I'm new to 2005. Where can I get the sample
code to get an appsetting correctly from the config file using 2005?

Thanks for any help

Bob




May 6 '06 #3

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

Similar topics

6
by: sathyashrayan | last post by:
Following are the selected thread from the date:30-jan-2005 to 31-jan-2005. I did not use any name because of the subject is important. You can get the original thread by typing the subject...
11
by: Peter Oliphant | last post by:
I've been trying all morning to convert my 2003 project (managed) to 2005 (/clr since I have both managed and unmanaged code). I'm guessing I have tens of thousands of lines of code to change. Did...
0
by: Rich | last post by:
(1) Is there a better place to pose the question below? (2) I am starting to convert my enterprise solution from VS 2003 (.NET v1.1.4322) to VS 2005 Professional (.NET v2.0.50727). The entire...
4
by: Airw0lf | last post by:
Hi all, would appreciate help with some trouble I'm having after using the Visual C++ 2005 Express Conversion Wizard on my Visual C++ .NET 2003 project. The wizard completed successfully with...
0
by: pumaken68 | last post by:
Does anyone has experience with calling web service from pocket pc 2003 project in VS 2005 environment? I just migrated a smart device(pocket pc 2003) solution from VS 2003 to VS 2005. There are...
2
by: Chris Davoli | last post by:
I have written a web site (with other class projects) in VS.net 2003 (VB.Net). What does it take to convert to Visual Studio.Net 2005? Can the 2003 project just be opened up in 2005? Will that...
7
by: nithyanand.kn | last post by:
Hi, I am using Visual Studio 2003 currently, but I my next project may require is on .NET 2.0 and hence i will need to install VS.NET 2005. but i dont want to lose VS 2003. Is it possible to...
7
by: Coleen | last post by:
Does anyone have any good detailed information on the conversion process? We are in the process of converting 2 projects from 2003 to 2005 and have some conversion errors that I can not find...
5
by: JT | last post by:
Hi, I'm not sure where the problem is, but I think it's related to the .pdb file. I had a class library created in VS 2003 and decided to convert it to a VS 2005 project/solution. It seemed to...
4
by: Coleen | last post by:
Hi All :-) I'm new to this site. I've been trying to convert several .Net 2003 web applications and getting tons of conversion errors. I found this site to help walk me through the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.