Compartir a través de


Automation and COM Servers

You can extend the functionality of your Visual FoxPro applications and save time writing code by using Automation and COM Servers. With Automation, you can control other applications, such as Microsoft Excel, from within your own application. COM servers allow you to package complex routines into reusable components.

In This Section

  • Controlling Visual FoxPro from Other Applications
    Discusses how you can control Visual FoxPro from other applications by using the Visual FoxPro Application object. Applications that support Automation can create instances of Visual FoxPro, run Visual FoxPro commands, and access Visual FoxPro objects.

  • Visual FoxPro and Advanced COM
    Shows how to take advantage of the COM features in Visual FoxPro by implementing interfaces and event binding. Discusses the inner workings of early versus late binding for both client and server, COM performance, and making COM objects more discoverable.

  • Referencing Data Types in COM Objects,
    Describes how to create an instance of a variable with a type you expect to retrieve when you use Visual FoxPro as an early binding client and want to reference a variant data type in a COM object.

  • Working with Automation Servers
    Describes creating and using Automation servers.

  • Visual FoxPro Run-Time Libraries
    Describes the two separate run-time libraries that ship with Visual FoxPro: one for most normal application types and the other for highly scalable in-process server applications.

  • Server Design Considerations and Limitations
    Describes certain behaviors, processes, and limitations that can determine the effectiveness of your server application.

  • Web Services and Components
    Describes how you can enable a Visual FoxPro application to work for multiple users, taking advantage of ActiveX controls and automation-enabled applications, and adding international capabilities.

  • Interoperability and the Internet
    Explains how to use OLE drag-and-drop to develop applications that make it possible for you to move data between Microsoft Windows-based applications and within a Visual FoxPro application. Create documents for use on the Internet, or use one of two different Visual FoxPro run times to create COM components (Automation servers) as normal or multithreaded applications.