ActiveXModuleCreateOptions

Use these constants with the ActiveXModule.CreateOption method to specify how an ActiveX module creates a new instance of the specified object class when it executes.

  • 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.

See Also

ActiveXModule.CreateOption

Specify Module dialog box