共用方式為


Run Word, Excel, and Graph Automation Sample

File: ...\Samples\Solution\Ffc\Automate.scx

This sample contains the following classes.

Class Library Description
Cross Tab _utility.vcx Generates a cross-tab report.
Mail Merge Mailmerge.vcx Generates a Word mail merge using the core Mail Merge Wizard engine.
Pivot Table Pivtable.vcx Generates an Excel pivot table using the core PivotTable Wizard engine.
Graph Object _utility.vcx Generates a graph using the core Graph Wizard engine.

This sample demonstrates adding automation routines to your application. Choose the buttons in the dialog box to generate a cross tab summary, an Excel pivot table, a Word mail merge document, and a data graph.

For details on all classes available in the foundation classes, see Visual FoxPro Foundation Classes.

See Also

Cross Tab | Visual FoxPro Foundation Classes A-Z | Guidelines for Using Visual FoxPro Foundation Classes