Share via


Internet First Steps: Active Documents

OverviewHow Do I

This article includes details about the steps needed to add Active document object support to your application. There are several paths you can take, depending on the support for Active technology your application currently has.

Add Active Document Support to a New Application

In AppWizard, you can create a new application with Active document support by choosing Full Server, or Both Container and Server when asked to specify "What compound document support would you like to include?", and selecting the check box for Active document server.

Convert an Existing MFC In-Process Server to an Active Document Server

If your application was created with a version of Visual C++ prior to version 4.2 and is already an in-process server, you can add Active document support by making changes to the following classes:

Class type Formerly derived from Change to derive from
In-Place Frame COleIPFrameWnd COleDocIPFrameWnd
Item COleServerItem CDocObjectServerItem

You will also change how information is entered in the registry, and make several other changes. These changes are detailed in Upgrade to an Active Document Server.. If your application currently has no COM components support, you can add server support by running AppWizard and integrating the COM component-specific code with your existing application and then following the steps described in Upgrade to an Active Document Server.

Add Active Document Support to an Existing Application That Currently Has No Active Technology Support

You can follow the steps in the tutorial , and then follow the steps described in Upgrade to an Active Document Server.

See Also   Internet: Where Is..., Active Documents, , Active Documents