HOWTO: Control Which Version of MDAC the VB PDW Distributes

ID: Q217754


The information in this article applies to:


SUMMARY

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.


MORE INFORMATION

When you reference ActiveX Data Objects (ADO) 2.x 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 through the SQL Server 7.0 Client utilities and make no other changes, then MDAC 2.0 is distributed with your application. In order to distribute MDAC 2.1 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.

(c) Microsoft Corporation 1999, All Rights Reserved. Contributions by David Sceppa, Microsoft Corporation.

Additional query words: kbsweepnext


Keywords          : kbADO210 kbDatabase kbDeployment kbVBp600 
Version           : WINDOWS:2.0,2.1,6.0
Platform          : WINDOWS 
Issue type        : kbhowto 

Last Reviewed: March 5, 1999