HOWTO: Redistribute DAO 3.6

ID: Q233002


The information in this article applies to:
  • Microsoft Visual Studio 6.0 SP3


SUMMARY

DAO version 3.6 is required for applications using DAO that need to read and write to Access 2000 .mdb database files.


MORE INFORMATION

Dao360.dll was released with Visual Studio 6.0 Service Pack 3. It can be found under the \os\system directory of the Service Pack 3 image.

To redistribute DAO 3.6 with an application, complete the following three steps.

  1. DCOM95 should be installed on Windows 95 systems that do not have DCOM installed. DCOM95 is distributed in a file called Dcom95.exe. A reboot of the system is required after installing Dcom95.exe. DCOM is required for the Mdac_typ.exe to work. DCOM is pre-installed on Windows 98 and Windows NT systems, so this step is only required for Windows 95.


  2. Run the latest version of Mdac_typ.exe to install the Microsoft Data Access components. Most components required to use DAO are included in the MDAC redistributable setup file Mdac_typ.exe. For example, all the DLLs that comprise Jet 4.0 are included in Mdac_typ.exe.


  3. Create a directory with the name DAO under C:\Program Files\Common Files\Microsoft Shared and copy Dao360.dll to this directory. In addition, Dao360.dll must be registered as a COM DLL. This can be accomplished by using the Regsvr32.EXE utility.


Visual Studio Service Pack 3, Mdac_typ.exe, and Ddcom95.exe can be downloaded from Microsoft.com/Downloads.


REFERENCES

For additional information, click the article numbers below to view the articles in the Microsoft Knowledge Base:

Q232053 INFO: List of Files Installed by MDAC 2.1 (GA)
Q191704 PRB: Unable to Load File to Register It During Setup
Q167523 HOWTO: Redistributing DAO with Your Visual C++ 5.0 Application
Q235507 BUG: DAO 3.6 Causes Debug Errors in MFC DAO Non-Unicode Builds
Q236991 PRB: Unrecognized Database Format Error with Access 2000 Database

Additional query words: distribute

Keywords : kbAppSetup kbDatabase kbDeployment kbVBp600 kbVS600sp3 kbGrpVCDB kbDAO360
Version : WINDOWS:6.0 SP3
Platform : WINDOWS
Issue type : kbhowto


Last Reviewed: September 28, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.