Ok. How about a 'Check ODBC Driver' or some such to detect if a particular driver is installed?
Jon.
Ok. How about a 'Check ODBC Driver' or some such to detect if a particular driver is installed?
Jon.
Hi Jonathan,
The names of all the ODBC drivers are kept as values under a registry key:
HKEY_LOCAL_MACHINE\Software\ODBC\ODBCINST.INI\ODBC Drivers
Just enumerate the registry values to retrieve a collection. I have developed a simple quick-and-dirty demo for you (see attached screenshot and .sb7 project).
Hope this helps.
Friedrich
There are currently 1 users browsing this thread. (0 members and 1 guests)