Problem 1.In my config file there is a squigglies under the <Photosection>. Can I not do it this way ?
Problem 2. Before I was told to group or section off the config file for the FileSystemWatcher project, I do not know the syntax to call it from the vb.net code.
Here is what I can use to call any key in the app.conf: ConfigurationSettings.AppSettings("Photo_FileExt"), but how do I call keys in my new <photoSection> section? ConfigurationSettings.AppSettings.PhotoSection("Photo_WatchDirectory") ???
I am grasping at straws. I am really the groundskeeper but their developer is out.
<appSettings>
<!--Below is for Photo_Project Key Values-->
<PhotoSection>
<add key="Photo_WatchDirectory" value="C:\WATCHFOLDER\" />
<add key="FileExt" value="*.pdf" />
<!--Below is for Generic Key Values-->
<!--Note* Increase the amount of Buffer for file processing. -->
<add key="FWBufferSize" value="8192" />
<!--Note* It represents the number of seconds. If this counter is reached the target file will be abandonded. -->
<add key="FileLockCounter" value="60" />
<add key="ClientSettingsProvider.ServiceUri" value="" />
</appSettings>
Problem 2. Before I was told to group or section off the config file for the FileSystemWatcher project, I do not know the syntax to call it from the vb.net code.
Here is what I can use to call any key in the app.conf: ConfigurationSettings.AppSettings("Photo_FileExt"), but how do I call keys in my new <photoSection> section? ConfigurationSettings.AppSettings.PhotoSection("Photo_WatchDirectory") ???
I am grasping at straws. I am really the groundskeeper but their developer is out.
<appSettings>
<!--Below is for Photo_Project Key Values-->
<PhotoSection>
<add key="Photo_WatchDirectory" value="C:\WATCHFOLDER\" />
<add key="FileExt" value="*.pdf" />
<!--Below is for Generic Key Values-->
<!--Note* Increase the amount of Buffer for file processing. -->
<add key="FWBufferSize" value="8192" />
<!--Note* It represents the number of seconds. If this counter is reached the target file will be abandonded. -->
<add key="FileLockCounter" value="60" />
<add key="ClientSettingsProvider.ServiceUri" value="" />
</appSettings>