I have an App.config file with a key that points to a file path. I am not able to access the key though as the compiler does not like my syntax. See the line below I marked as line 1. Also, I did import the correctly at the top of the vb.net code page.
1. Dim testString As String = ConfigurationManager.AppSettings("filepath")
from my XML file :
<?xml version="1.0" encoding="utf-8" ?>
<add key="filePath" value = "c:\dropOffFolder" />