Enable Scripting Activex Controls Cookies And Java Programs Example
ActiveX Controls. 3 minutes to read.In this articleActiveX controls technology rests on a foundation consisting of COM, connectable objects, compound documents, property pages, OLE automation, object persistence, and system-provided font and picture objects.

As summarized below, each of these core technologies plays a role in controls.COMA control is essentially a COM object that exposes the interface, through which clients can obtain pointers to its other interfaces. Controls can support licensing through and self-registration. See for more information on COM, licensing, and self-registration.Connectable objectsControls can support outgoing interfaces through connectable objects so that the control can communicate with its client. For example, an outgoing interface can trigger an action in the client, can notify the client of some change in the control, or can request permission from the client before the control takes some action. See for more information on how connectable objects work.Uniform data transferControls can support being dragged and dropped within a container with help from their container. See for more information on drag and drop.Compound documentsA control can be an in-place active object that can be embedded in a containing client. An end-user activates the control to initiate an action in the container application.
See for more information on in-place activation and other compound document interfaces.Property pagesControls can provide property pages so end users can view and change the control's properties. See for more information on how property pages work.OLE automationControls can provide programmability through OLE automation so clients can take advantage of the control's features through a programming language supplied by the client. See the OLE Automation section for more information on OLE automation.Persistent storageA control can implement one or more of several persistence interfaces to support persistence of its state. The control implementer must decide what kinds of persistence are most important and implement the appropriate persistence interfaces. The client decides which interface it prefers to use. See for more information on all the persistence interfaces.Font and picture objectsControls can use these system provided objects to provide a visual representation of themselves within the client. The font object implements several interfaces, including.
A font object can be created with. The picture object also implements several interfaces, including. A picture object can be created using and can loaded from a stream with.It is important to understand that these features can be used in any OLE object.
Enable Scripting Activex Controls Cookies And Java Programs Example For Resume
One does not need to implement a control in order to use these features. Also, the only required interface on a control is IUnknown. The control optionally supports other interfaces based on the need to support the related features.In addition to these features, the following interfaces and functions are specific to controls technology:,. Also specific to controls are a set of standards for properties and methods that a control or a control container can support.