Solved

MDAC URGENT Help Needed

Posted on 2002-06-10
1
139 Views
Last Modified: 2010-05-02
I have developed my app using MDAC 2.7 and all my references point to that version.  Now I am told that I need to change it to be MDAC 2.5 compliant.

Is there a way I can reference the 2.5 version in my app so that it runs on clients with 2.5 installed.  

Currently the app only runs on clients with 2.7.

I've tried reinstalling 2.5 on my own PC but as suspected, it didn't overwrite the 2.7 files.

Any help would be greatly appreciated.

Thanks Much!!!
0
Comment
Question by:baddogi
1 Comment
 
LVL 18

Accepted Solution

by:
mdougan earned 100 total points
ID: 7068462
Which version of MDAC your applcation expects is based on what was selected as a reference in the Project References dialog box.

So, if you need a 2.7 version and a 2.5 version, it should be simple enough to take your project to a development machine (it's probable that your current development machine is fine) and then go to Project References, and uncheck the reference next to the Microsoft Active Data Objects Library 2.7 and put a check next to the 2.5 version, and recompile the application.  Then, you would build your install to include the 2.5 version of the MDAC_TYP.EXE file (or, you can leave out the MDAC if your environment pre-supposes that it is already installed).
0

Featured Post

ScreenConnect 6.0 Free Trial

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question