Microsoft KB Archive/165172

= Gphsamp.exe Shows Automation to DataSheet in MS Graph 8 =

Article ID: 165172

Article Last Modified on 3/9/2005

-

APPLIES TO


 * Microsoft Visual FoxPro 5.0 Standard Edition
 * Microsoft Visual FoxPro 5.0a
 * Microsoft Visual FoxPro 6.0 Professional Edition

-



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:

Gphsamp.exe

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

Keywords: kbinfo kbdownload kbfile kbautomation kbsample KB165172

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.