The information in this article applies to:
SYMPTOMSWhen you try to load an OLE Control generated by using ControlWizard into a Visual Basic 4.0 form in Visual Basic by on the Tools menu, clicking Custom Controls and then clicking the Browse button, the following error message appears:
CAUSEVisual Basic checks an OLE control to see whether it supports self- registration by searching for the presence of an OLESelfRegister entry in the StringFileInfo section of the control's version information resource. ControlWizard-generated OLE controls do not provide the entry by default. RESOLUTIONModify the OLE Control to indicate its support for the self-registration feature. This can be achieved by including the OLESelfRegister entry with an empty value in the StringFileInfo section of the control's version resource. The following steps explain the process in detail. Step-by-Step Procedure
STATUSThis behavior is by design. MORE INFORMATION
A COM server typically indicates its support for self-registration by
including the OLESelfRegister entry with an empty value in the
StringFileInfo of its version resource. This entry is considered optional
because the actual self-registration mechanisms do not depend on its
presence. This information simply allows a client application to avoid
loading a DLL (that is, an in-process server or OLE control) or launching
an .exe (that is, a local server) for no gain. REFERENCESPlease refer to Chapter 5 of Inside OLE, Second Edition, for more information on self-registration. Additional query words: 2.00 2.10 2.20 4.00 4.10 load failure
Keywords : kbcode kbole kbCtrl kbMFC kbVC |
Last Reviewed: August 8, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |