There are three types of active x components.
Active X Control.
Active X Document.
Active X Code Components (OLE autopation server).
ACTIVE X CONTROLS
Active x controls can supports properties, methods & events active x controls are based on VB user control objects.
To create an active x control programmer creates a control class file with the extention. CTL VB uses that file to create the actual control which has the extention. OCX after programmer registers that control with windows, the control will appears in VB components dialog box ready to add in a program.
ACTIVE X DOCUMENTS
Active x document can include as many controls as any other VB program.
Code components are also called as last module of OLE autopation server. These objects let the programmer to use their code in other programs code components can support an properties as method.
Object linking & emeedding is the very popular that gives the user direct access to OLE server programs example: Ms Office.
LINKING VERCESS EMEEDDING
The main different is where the objects data is stores. Data associated with the link objects, manipulating by OLE server application is stored outsider OLE contain control. OLE data associated with an enabled object is contain OLE container control & that can be save with in VB programs.
OLE CONTAINER: Display the OLE objects.
OLE SERVER: Program displayed inside the object.