ACC2: OLE 2.02 Required to Use Custom Controls

Last reviewed: June 3, 1997
Article ID: Q123593
The information in this article applies to:
  • Microsoft Access version 2.0

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: <OLE Control> 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 <OLE Control> 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:

   ARTICLE-ID: Q122927
   TITLE     : 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 : IntpCstm IntpOle kbinterop
Version : 2.0
Platform : WINDOWS
Hardware : X86
Issue type : kbinfo
Resolution Type : kbservicepack


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: June 3, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.