I would like to create a UDL programatically to point to an Access DB in the same directory as my Test exe. The problem is that this directory name may change but the relative directory will remain unchanged. I would like to stay away from using DSNs if possible for consistency and convenience.
The UDL file is a text file. You can open it with notepad or similar program, the format appears pretty straight-forward and it should be easy to roll your own.