KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q165172: Gphsamp.exe Shows Automation to DataSheet in MS Graph 8

Article: Q165172
Product(s): Microsoft FoxPro
Version(s): WINDOWS:5.0,5.0a,6.0
Operating System(s): 
Keyword(s): kbfile kbole kbsample kbAutomation kbvfp500 kbvfp600
Last Modified: 24-OCT-2000

-------------------------------------------------------------------------------
The information in this article applies to:

- Microsoft Visual FoxPro for Windows, versions 5.0, 5.0a, 6.0 
-------------------------------------------------------------------------------

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
  (http://download.microsoft.com/download/vfox60/Howto1/1/W9X/EN-US/Gphsamp.exe)

For additional information about how to download Microsoft Support files, click
the article number below to view the article in the Microsoft Knowledge Base:

  Q119591 How to Obtain Microsoft Support Files from Online Services

Microsoft used the most current virus detection software available on the date of
posting to scan this file for viruses. Once posted, the file is housed on secure
servers that 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


Additional query words:

======================================================================
Keywords          : kbfile kbole kbsample kbAutomation kbvfp500 kbvfp600 
Technology        : kbVFPsearch kbAudDeveloper kbVFP500 kbVFP600 kbVFP500a
Version           : WINDOWS:5.0,5.0a,6.0
Issue type        : kbinfo

=============================================================================

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 1986-2002.