I have a custom windows service with an app.config. I have a vbs file that needs to read values from that app.config file. I found this for vb.net -
Dim aConfig As Configuration.ConfigurationSettings
Dim aExcelFile As String = aConfig.AppSettings("MyExcelFileName")
But I need something that will work in vbs file, or a way to import System.Configuration into vbs file, but as far as I can see that's not possible.
I've done a lot of searching online and haven't found anything helpful yet. Please, someone, tell me it can be done!
Dim aConfig As Configuration.ConfigurationSettings
Dim aExcelFile As String = aConfig.AppSettings("MyExcelFileName")
But I need something that will work in vbs file, or a way to import System.Configuration into vbs file, but as far as I can see that's not possible.
I've done a lot of searching online and haven't found anything helpful yet. Please, someone, tell me it can be done!