Gphsamp.exe Shows Automation to DataSheet in MS Graph 8 (165172)



The information in this article applies to:

  • Microsoft Visual FoxPro for Windows 5.0
  • Microsoft Visual FoxPro for Windows 5.0a
  • Microsoft Visual FoxPro for Windows 6.0

This article was previously published under Q165172

SUMMARY

Gphsamp.exe is a file that demonstrates how to use OLE Automation to Microsoft Graph to change the data that Graph 8.0 is using for a graph.

MORE INFORMATION

The following files are available for download from the Microsoft Download Center:
For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to Obtain Microsoft Support Files from Online Services

Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file. Microsoft Graph 8.0 that ships with Microsoft Office 97 exposes the DataSheet to OLE automation. The Graphsmp form, which is available for download, is an example of how to use OLE automation to change values in the Graph 8.0 DataSheet. The sample uses the TestData database (Vfp\Samples\Data) that ships with Visual FoxPro. It uses the Employee and Order tables to chart the total yearly and quarterly sales for each salesperson. For more information on doing OLE automation to Microsoft Graph 8.0 please see the Vbagrp8.hlp file that ships with Microsoft Office 97.

(c) Microsoft Corporation 1997, All Rights Reserved. Contributions by Brian Combs, Microsoft Corporation

Modification Type:MinorLast Reviewed:3/9/2005
Keywords:kbdownload kbAutomation kbfile kbinfo kbSample KB165172 kbAudDeveloper