B
Bob
Vs2003, Winform app, trying to read an application setting
Dim MyAppMgr as new System.configuration.AppsettingsReader
Me.textbox1.text = MyAppMgr.Getvalue("MyServerName",string)
Now when I execute the first line I get a system.dll exception because it
says required attiubte 'Value' not found.
What value, there are no choices possibles either as other objects or as
parameters for AppsettingsReader in intellisense. If I don't include the
word new in the line obviously MyappMgr object stays to nothing and the next
line gives me an error.
How do I get out of this friggin catch 22.
Any help appreciated.
Bob
Dim MyAppMgr as new System.configuration.AppsettingsReader
Me.textbox1.text = MyAppMgr.Getvalue("MyServerName",string)
Now when I execute the first line I get a system.dll exception because it
says required attiubte 'Value' not found.
What value, there are no choices possibles either as other objects or as
parameters for AppsettingsReader in intellisense. If I don't include the
word new in the line obviously MyappMgr object stays to nothing and the next
line gives me an error.
How do I get out of this friggin catch 22.
Any help appreciated.
Bob