Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 217754 - Last Review: May 17, 2007 - Revision: 4.4
How To Control Which MDAC Version the Package and Deployment Wizard (PDW) Distributes
This article was previously published under Q217754
The purpose of this article is to help you understand how the Visual Basic 6.0 Package and Deployment Wizard (PDW) distributes the Microsoft Data Access Components (MDAC) in order to allow you to control which version of MDAC is distributed with your application.
When you reference ActiveX Data Objects (ADO) in your Visual Basic 6.0 project, and use the Package and Deployment Wizard to build the install, the wizard uses the MDAC_Typ.exe file in the ...\Wizards\PDWizard\Redist directory.
If you install Visual Basic 6.0 and then later install MDAC 2.1 or later through the SQL Server 7.0 Client utilities or some other method and make no other changes, then MDAC 2.0 is distributed with your application. In order to distribute MDAC 2.1 or later with your application, you need to replace the version of MDAC_Typ.exe that resides in the ...\Wizards\PDWizard\Redist directory with the newer version of that file.
You may obtain the latest MDAC release and see a list of available MDAC releases available for distribution from
http://msdn2.microsoft.com/en-us/data/aa937695.aspx
(http://msdn2.microsoft.com/en-us/data/aa937695.aspx)
.
APPLIES TO
- Microsoft Visual Basic 6.0 Professional Edition
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
- Microsoft Data Access Components 2.0
- Microsoft Data Access Components 2.1
- Microsoft Data Access Components 2.5
- Microsoft Data Access Components 2.6
- Microsoft Data Access Components 2.7
| kbdatabase kbdeployment kbhowto KB217754 |
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate