Microsoft KB Archive/123593

= ACC2: OLE 2.02 Required to Use Custom Controls =

Article ID: 123593

Article Last Modified on 11/6/2000

-

APPLIES TO


 * Microsoft Access 2.0 Standard Edition

-



This article was previously published under Q123593



SUMMARY
Advanced: Requires expert coding, interoperability, and multiuser skills.

OLE controls created with the OLE Control Developer's Kit shipped with Microsoft Visual C++ version 2.0 require users to install OLE version 2.02.

Trying to register such a control in Microsoft Access will cause the following error message:

Insert Object:  was unable to add itself to your system. Install the control using a separate setup utility.

Using a utility such as REGSVR.EXE or MSAREG.EXE will result in the error message:

DllRegisterServer in  failed.



MORE INFORMATION
To use OLE controls created with the OLE Control Developer's Kit with Microsoft Access, install OLE 2.02.

OLE 2.02 is available with the Microsoft Access version 2.0 Service Pack. For information about how to obtain the Service Pack, please see the following article in the Microsoft Knowledge Base:

122927 WX1124: Microsoft Access Version 2.0 Service Pack

The following OLE 2.02 files are installed when you install the Service Pack:

  File Name      Size     Version --  COMPOBJ.DLL    108544   2.02 OLE2.DLL      302592   2.02 OLE2CONV.DLL  57328    2.01 OLE2DISP.DLL  164832   2.02 OLE2NLS.DLL   150976   2.02 OLE2PROX.DLL  51712    2.02 STORAGE.DLL   157696   2.02 TYPELIB.DLL   177216   2.02 OLE2.REG      27026    Not marked STDOLE.TLB    4304     Not marked

There is another OLE file called OC25.DLL that can be distributed by developers. This file is usually packaged with OLE controls.

Additional query words: jet25 jet 2.5

Keywords: kbinfo kbinterop KB123593

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.