ACC2: OLE 2.02 Required to Use Custom Controls

ID: Q123593


The information in this article applies to:


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:

Q122927 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          : kbinterop IntpOle 
Version           : 2.0
Platform          : WINDOWS 
Issue type        : kbinfo 

Last Reviewed: April 8, 1999