_RUNACTIVEDOC System Variable

Specifies an application that launches an Active Document.

_RUNACTIVEDOC = ProgramName

Parameters

  • ProgramName
    Specifies the name of an application used to launch an Active Document. If your Active Document launch application is in a directory other than the current default directory, include a path with the application name.

Remarks

_RUNACTIVEDOC contains the name of an application that can be used to specify launch options for an Active Document. The application specified in _RUNACTIVEDOC is executed when you choose the Run Active Document option from the Tools menu. _RUNACTIVEDOC contains RUNACTD.PRG by default.

You can also specify a launch application for Active Documents with the ActiveDoc Launcher option on the File Locations tab in the Options dialog box.

An Active Document can be run in four different ways:

  • Hosted in an Internet browser such as Microsoft Internet Explorer using the Visual FoxPro runtime.
  • Standalone (unhosted) using the Visual FoxPro runtime.
  • Hosted in an Internet browser using the Visual FoxPro debugger.
  • Standalone using Visual FoxPro debugger.

See Also

Active Documents | File Locations Tab, Options Dialog Box | SYS(4204) – Active Document Debugging