Currently the default behavior for editing OLE applications is as follows:
- In the Standard configuration client, OLE applications launch externally.
- In the Basic configuration client, OLE applications launch in-place,
You can control whether OLE objects launch in-place or externally in the object's native application by using notes.ini settings. There are four levels of control available:
- Global - available for both the Standard and Basic configuration clients
- Application - Standard configuration client only
- Document - Standard configuration client only
- Alternate Editor - Standard configuration client only
Use the Ole.InPlace.Disable setting to control whether OLE objects launch in place, or externally in the object's native application. This setting applies to either the Standard or the Basic Configuration client. Using this setting overrides any of the other OLE related notes.ini variables. Values are:
1 - Disables all in-place editing, and OLE objects are launched externally in their native application.
0 - (Default) or no setting present. Each client uses its default behavior.
: Setting this variable to 0 does not
enable in-place editing in the Standard Configuration client. To enable In-place editing on the Standard Configuration client use one of the Application settings listed below.
There are six different client Notes.ini variables available for application (program specific) control. Use these setting to specify which applications to launch in-place. Setting any of these variables to 1 overrides the default client behavior, but does not
override the global or document controls. Also note that setting any of these variables to 0 does not cause the relative object type to launch externally. Setting it to 0 invokes the default behavior for the client.
The application control variables are:
: Freelance will not run in place. The following variable has no affect: Ole.InPlace.Freelance.Show = 1
You can also control the individual document by using the field $OLEInPlaceAll. If the field is present, then all OLE objects on the document will be opened in-place, regardless of its value.
: This parameter is overridden by the Global variable, but not by the Application variables.
Alternate Editor Control
Use this setting to force the Alternate Editor to launch in-place (which provides a better editing experience) instead of launching externally, which is the default.
1 - launches in-place editing, rather than the default behavior of launching the external application.
0 or not present - (Default) Alternate Editor launches externally.
: The setting Ole.InPlace.Disable=1 overrides this setting, and in-place editing is disabled.
For a complete listing of each of these notes.ini settings, see the complete Notes.ini list on developerWorks.