I am reading from the app.config file successfully using the following code.
How do I check if the name value pair "LogPath" doesn't exist?
Code:
'Read in String from app.config file
Dim VarSettings As New System.Configuration.AppSettingsReader()
Dim oString As Object = VarSettings.GetValue("LogPath", GetType(String))
Dim strPath As String = oString.ToString()
How do I check if the name value pair "LogPath" doesn't exist?