CRESLISA
asked on
How do you use the GetValue method in Visual Basic .NET???
I get a compiler error from the code below, "Expected ','". At least it looks like a comma. I've used the function from C Sharp by using a similar statement, but I have a project in VB.
Please help!!!
Rant: this kind of thing makes me hate Microsoft. This functionality could be so much easier!!!
Please help!!!
Rant: this kind of thing makes me hate Microsoft. This functionality could be so much easier!!!
Imports System.Configuration 'for settings
Dim Settings As AppSettingsReader = New AppSettingsReader()
Dim Addresses As String = Settings.GetValue("AlliedQuoteRequestEmailAddress", typeof(System.String))
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Ah... depends if you have option explicit on or not :)
ASKER