I am modifying an existing program which is a standalone class library exposed to COM, for reference by MS-Access VBA.
The program has several hard-coded variables in the classes which I want to be able to load from a file.
Since it is a class library and not a start program, app.config can't be used, because class libraries defer to the app.config values from the calling exe.
Since ms-access VBA doesn't have .net app.config capability, I need to be able to read from an external file that is not part of the managed-code world.
Can anyone point me to workable examples of code snippets to accomplish this file read from a class library process? It has to read the file at the time the library is invoked, so the variables get set before the functions are called.