ActiveXModule.CreateOption

Syntax

ActiveXModule.CreateOption

Data Type

ActiveXModuleCreateOptions

Use the following constants with this data type:

  • ActiveXCreate_AttachToActive –(Value: 1) Specifies that the module obtains a reference to an active Application object.
  • ActiveXCreate_DoNotCreate –(Value: 3) Specifies that the module does not create a new instance of the object class.
  • ActiveXCreate_FromFile –(Value: 2) Specifies that the module loads an existing object from a file and obtains a reference to the object. If the server application is already running, this option might launch another copy of the application. The server application determines when to launch multiple copies of itself. When you make this selection, the Specify Module dialog box displays a File Selection control and a Browse button. Use these controls to specify the file path.
  • ActiveXCreate_New –(Value: 0) Specifies that the module creates a new object and obtains a reference to the object. If the server application is already running, the module might launch another copy of the application. The server application determines when to launch multiple copies of itself.

Purpose

Specifies how a module creates a new instance of the specified object class when it executes.

See Also

Specify Module dialog box