ActiveX is Microsoft for a series of strategies of object oriented programming technology and tools to address, wherein the main technology component object model ( COM ). In a directory and other support network, the COM into distributed COM ( DCOM ). In the creation of ActiveX procedures, the main work is the component, a self-contained in ActiveX network ( now the network including Windows and Mac ) in any running program. This component is the ActiveX control. ActiveX Microsoft Sun Microsystems JAVA technology to compete and put forward, the control function and the Java applet function similar to. If you are using the Windows operating system, you may notice some of the OCX at the end of the file. "OCX" stands for " object linking and embedding control" ( OLE ), this technique is proposed by Microsoft program for processing technology, desktop files mixed use. Now the COM concept has replaced part of OLE, Microsoft also uses the ActiveX control represents the component object.
Assembly is one of the advantages can be most applications use ( the application is called a component container ). A component of COM ( ActiveX control) can be made of different language development tools, including C + + and Visual Basic or PowerBuilder, and even some technical language such as VBScript.
At present, the ActiveX control in Windows 95 / NT and running in Macintosh, Microsoft also ready to support UNIX ActiveX control.
The ActiveX control classification
ActiveX components include the following:
1 automation server: can be composed of other application programming drive assembly. Automation server includes at least one, perhaps more for other applications to generate and connection interface based on IDispatch. Automation server can contain can also have no user interface ( UI ), depending on the server 's characteristic and function.
2 automation controller : those that use and manipulation of an automation server application. 3 controls: ActiveX control is equivalent to the previous OLE controls or OCX. A typical controls include design and transport line user interface, only IDispatch interface definition control methods and attributes, the only IConnectionPoint interface for control can be triggered by the event.
4 document: ActiveX document, whereby said before DocObject, said a is not just a simple control or automatic change server object. The ActiveX document in the structure is on the OLE link and the model is extended, and the container has more control. One of the most significant change was a menu display mode. A typical OLE document with the container menu menu will merge into a new collection, ActiveX documents, will replace the entire menu system, watch the document properties rather than documents with common characteristics of container.
5: ActiveX container is a container can be used as an automation server, controls and document host application
Editor this paragraph ActiveX control application
The ActiveX control is a kind of reusable software components, through the use of ActiveX control, can quickly in the web, desktop applications, as well as the development of tools with special function. Such as, StockTicker controls can be used in the webpage immediately joined the activity information, animation controls can be used to add animation character webpage. Now, there are more than 1000 commercial ActiveX control, development control can use a variety of programming languages, such as C, C + +, the next generation of Microsoft Visual Basic®, and Microsoft Visual Java Microsoft Visual J + + development environment it. The ActiveX control once come out by development, design and development staff can take it as a pre-assembled components, used in the development of client program. In this way, the use of ActiveX control, the user does not need to know how these components are developed, in many cases, even without their own programming, can be completed webpage or application program design.
No comments:
Post a Comment