Determining version of MDAC

  • Thread starter Thread starter Richard L Rosenheim
  • Start date Start date
R

Richard L Rosenheim

How can I determine which version of MDAC is installed on the machine. I
have a program which works on one machine, but not another and I would like
to confirm whether or not the two machines have the same version of MDAC
installed.

TIA,

Richard Rosenheim
 
HOW TO: Check for MDAC Version
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q301202

You could also check the version of <common files>\system\ole db\msdadc.dll
by extracting the version number from it. Theres an unsafe example here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/csref/html/
vcwlkunsafecodetutorial.asp


--
Regards

John Timney (Microsoft ASP.NET MVP)
----------------------------------------------
<shameless_author_plug>
Professional .NET for Java Developers with C#
ISBN:1-861007-91-4
Professional Windows Forms
ISBN: 1861005547
Professional JSP 2nd Edition
ISBN: 1861004958
Professional JSP
ISBN: 1861003625
Beginning JSP Web Development
ISBN: 1861002092
</shameless_author_plug>
 
You can find that information in the registry. Just read the default value
of the below registry key.

HKEY_CLASSES_ROOT\CLSID\{54AF9350-1923-11D3-9CA4-00C04F72C514}\InstalledVers
ion

The default value on my machine is "2,70,7713,0" which means I have MDAC
version 2.70 installed.

/Magnus
 
Back
Top