|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
ConfigurationManager unrecognizedmessage saying "Name 'ConfigurationManager' is not declared." on the third statement. Imports System.Configuration Imports System.Collections.Specialized Dim connections As Collections.Specialized.StringCollection = ConfigurationManager.ConnectionStrings Using VS2005. Puzzled, because when I declare "Imports System.Configuration", the next intellisense choice is ".ConfigurationSettings" which seems to be deprecated according to MSDN help in favor or ConfigurationManager, which errs. Thanks in advance. Dean S Dean Slindee wrote:
Show quoteHide quote > With the following three statements in an ApplicationEvents.vb file, I get a You need to add a reference to System.Configuration.dll.> message saying "Name 'ConfigurationManager' is not declared." on the third > statement. > Imports System.Configuration > > Imports System.Collections.Specialized > > Dim connections As Collections.Specialized.StringCollection = > ConfigurationManager.ConnectionStrings > > > > Using VS2005. Puzzled, because when I declare "Imports > System.Configuration", the next intellisense choice is > ".ConfigurationSettings" which seems to be deprecated according to MSDN help > in favor or ConfigurationManager, which errs. > > > > Thanks in advance. > > Dean S -- Tom Shelton
While not starting a debate BUT
textbox help VB2005 Syntax error in INSERT INTO statement How to attach an exe to the debugger? question about opening SQL results in Excel from ASP.NET via XML PRINTER INFORMATION Save Changes in VB.NET 2005 with Access 2003 --- Not using any Binding Navigator Newbie - MDI Question Getting the generated name attribute for use in JavaScript syntax to compare data from text field, when adding a record, to a field in a table for duplicates |
|||||||||||||||||||||||