Wiki90: 90s Style Encyclopedia on the Web
In today's world, ActiveX Document has become increasingly important. From its origins to its relevance today, ActiveX Document has been the subject of study, debate and controversy. Its impact covers multiple aspects, from society, politics, economy, culture, technology and more. In this article, we will explore the importance of ActiveX Document and its influence in different areas. Through deep and detailed analysis, we will seek to better understand the role ActiveX Document plays in our daily lives and the world at large.
This article may be confusing or unclear to readers. (June 2012) |
ActiveX Document (also known as DocObject or DocObj) is a Microsoft technology that allows users to view and edit Microsoft Word, Excel, and PDF documents inside web browsers. It defines a set of Component Object Model coding contracts between hosting programs like Internet Explorer or Microsoft Office Binder and hosted documents from programs like Microsoft Word, Microsoft Excel and Adobe Reader. This allows them to negotiate communications about commands like save and navigate, as well as merging user interface elements such as menu, to provide a unified user experience.
Initially designed for compound documents based on COM Structured Storage, the technology allows one single hosting program like Office Binder to contain unlimited type of documents. The server program that provides an ActiveX document can be an EXE or a DLL server.
There are a few code contracts that ActiveX documents and their container need to implement in order to communicate about their capabilities and requirements.
An ActiveX document server application needs to implement the following code contracts that are expected by an ActiveX document container that is going to host the document:
An ActiveX document container application needs to implement the following code contracts
Microsoft has ActiveX Document support in its developer tools to help programmers in creating ActiveX Document applications.
In Visual C++, programmers can include Microsoft Foundation Classes's support for ActiveX Documents in the MFC project wizard. A programmer can choose to add ActiveX document server and/or container support to the new program by checking a checkbox during the project creation process.
In Visual Basic, ActiveX Document Migration wizard helps programmers to convert VB forms into ActiveX documents.
In Visual FoxPro, The ActiveDoc Base Class supports development for ActiveX document servers.