Is there an easy way to know which MDAC is installed in a machine? I don't have Internet on this machine, so it would be easier to tell my program to use the MDAC that it's installed than to install MDAC on the target machine.
Any ideas?
Printable View
Is there an easy way to know which MDAC is installed in a machine? I don't have Internet on this machine, so it would be easier to tell my program to use the MDAC that it's installed than to install MDAC on the target machine.
Any ideas?
Through code or what?????
Any way... I need to know which MDAC is installed to tell my EXE to use this reference.
Ok, since the runtime error 430 is not raising anymore (I've changed the reference to 2.0) I think this is the one installed.
The problem is that the provider is missing (Jet 4.0). How can I install it?
Can you check the 'date'/'version' Properties of a givenQuote:
Originally posted by Mc Brain
Any way... I need to know which MDAC is installed to tell my EXE to use this reference.
MDAC file (say a .dll) to determine the version?
Like, if its date or version was 'xxx2.01', and you new that MDAC
4.0's 'file' was 'xxx2.50', that you are using an earlier version MDAC.
Bruce.
Which DLL are you talking about?
Not sure :)
I just used that as an example in my suggestion.
However, there must be a specific file(s) that belong to
MDAC (I'm guessing), if so wouldn't the option above work?
:) - Just an Idea.
Bruce.
McBrain,
Check out this article
http://support.microsoft.com/default...301202&SD=MSDN
should have everything you need ...
Don't worry... since it was a lousy database (67 records with 4 fields each), I turned it into a CSV and re-writing the code to get the data.
For what is worth (noting you have a solution);
This (appears) to be the Registry location of (my) MDAC Version.
HKEY_CLASSES_ROOT\MDACVer.Version\CurVer\MDACVer.Version.2.52
Ok... It seems that 2.6 is installed on this machine. But the target machine doesn't even have the "MDACVer.Version" key. I'm glad I thought of turning into CSV. It's running already.
Thanks for all the help, anyway.