Bill,
The second part's easy - once you know the filename. Just use VFP's agetfileversion(). e.g.
=AGETFILEVERSION(aFiles,"c:\windows\system32\sqlsrv32.dll")
Then pick out the version in [4] (or [11]).
If you can find the file name (I got it running the MDAC Component Checker - available at
http://www.microsoft.com/data/), from the registry, then you'll have all you need!
Rick
>Hi All,
>
>Is there a way I can determine the version of the SQL ODBC/OLE-DB driver from within VFP?
>Win API or Registry call?
>
>I just spent an hour debugging a 'problem' that could have been solved much more quickly if I had known that info.
>
>TIA!