共用方式為


Active Documents

Visual FoxPro makes it possible for you to create Active Documents. Active Documents enable you to view non-HTML documents in a Web browser host such as Microsoft Internet Explorer. Active Document technology makes it possible for you to view multiple types of documents from multiple sources within a single Active Document host.

An Active Document is a specific type of OLE embeddable document. It displays in the entire client area of an Active Document host and does menu merging with the host. The Active Document is full-frame and always in-place active. A Visual FoxPro Active Document, like any other Visual FoxPro application, can manipulate data, run forms, reports, and labels, instantiate classes, and run code.

The following are some of the features that Active Documents provide:

  • Active documents are always in-place active.
  • Active Document menu and toolbar commands can be routed to the Active Document host.
  • Active Documents provide seamless integration with other web pages when viewed in Internet Explorer.
  • Active Documents provide an evolutionary step along the migration path from pure Visual FoxPro client applications to Active Platform applications that use a client interface based on HTML.

A Visual FoxPro ActiveDoc is essentially a Visual FoxPro application (.app) file running in Internet Explorer. It can as easily run directly in Visual FoxPro. Because of this, Visual FoxPro runtime must be accessible and, therefore, ActiveDocs are more suitable for intranet environments.

See Also

Implementing Intrinsic and Manual OLE Drag-and-Drop Modes | Creating an Active Document | Interoperability and the Internet | Forms in Active Documents | Menus in Active Documents | Running Active Documents | Active Document Security | Running an Active Document Sample