INFO: OLE Controls Must Be Registered
Article ID: 129943
Article Last Modified on 5/6/2003
APPLIES TO
- Microsoft Visual Basic 5.0 Control Creation Edition
- Microsoft Visual Basic 5.0 Learning Edition
- Microsoft Visual Basic 6.0 Learning Edition
- Microsoft Visual Basic 5.0 Professional Edition
- Microsoft Visual Basic 6.0 Professional Edition
- Microsoft Visual Basic 5.0 Enterprise Edition
- Microsoft Visual Basic 6.0 Enterprise Edition
- Microsoft Visual Basic 4.0 Standard Edition
- Microsoft Visual Basic 4.0 Professional Edition
- Microsoft Visual Basic 4.0 Professional Edition
- Microsoft Visual Basic 4.0 16-bit Enterprise Edition
- Microsoft Visual Basic 4.0 32-Bit Enterprise Edition
This article was previously published under Q129943
SUMMARY
OLE Controls (.OCX files) are OLE servers, so they must be listed in the
registry. Visual Basic applications require an installation process to
ensure that the necessary items are properly registered. During the setup
process, if an OLE Control is needed and not registered, Visual Basic uses
the auto-registration facility to automatically register an OLE Control by
searching along the normal DLL search path for a file with the OLE Control
name. This is done both in the design environment and for built
executables. If the OLE Control is properly registered by other means, it
need not be on the DLL search path.
If Visual Basic does not reside on a computer, any Visual Basic application
targeted to be run on that computer must be installed through the setup
process. It cannot be simply copied.
Additional query words: kbVBp400 kbVBp500 kbVBp600 kbVBp kbdsd kbDSupport kbRegistry kbControl
Keywords: kbinfo KB129943