Partager via


Dynamic Information Sharing

You can typically include small amounts of data by copying and pasting it into your application. However, under certain conditions, you might want to link to and or embed data from other applications instead. For example, you can link or embed a Microsoft Word document in a General field or a Microsoft Excel worksheet on a form.

When you link to data, it is stored in its source file, not in your Visual FoxPro table or form. The table or form stores only the location of the source and displays a representation of the linked data. Linked data is updated when the source file changes and retains a connection to its source file, unless you break the connection.

Note

Files with an .avi extension are always linked.

When you dynamically embed data, it is stored only in your table or form. This data does not retain a connection to its source file. If changes are made to the source file, they do not appear in your Visual FoxPro application.

In This Section

  • Sharing Information and Adding OLE
    Explains how you can use Visual FoxPro to share information with other applications.

  • How to: Add OLE Objects to Applications
    Describes how you can add OLE objects to tables and forms interactively or programmatically.

  • OLE Drag-and-Drop
    Describes OLE drag-and-drop, a powerful and useful tool supported by Visual FoxPro, which makes it possible for you to move data between other applications that support OLE drag-and-drop.

  • Importing and Exporting Data
    Explains how information is copied between Visual FoxPro and other applications by importing to and exporting from Visual FoxPro.