SAMPLE: OLE Automation to Microsoft Excel, Word, & PowerPoint

Last reviewed: October 17, 1996
Article ID: Q148474
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows versions, 3.0, 3.0b, 5.0

SUMMARY

You can find OLE_SAMP.EXE, a self-extracting file, on these services:

  • Microsoft's World Wide Web site on the Internet

          On the www.microsoft.com home page, click the Support icon
          Click Knowledge Base, and select the product
          Enter kbfile OLE_SAMP.EXE, and click GO!
          Open the article, and click the button to download the file
    
  • Internet (anonymous FTP)

          ftp ftp.microsoft.com
          Change to the Softlib/Mslfiles folder
          Get OLE_SAMP.EXE
    
  • The Microsoft Network

          On the Edit menu, click Go To, and then click Other Location
          Type "mssupport" (without the quotation marks)
          Double-click the MS Software Library icon
          Find the appropriate product area
          Locate and Download OLE_SAMP.EXE
    
  • Microsoft Download Service (MSDL)

          Dial (206) 936-6735 to connect to MSDL
          Download OLE_SAMP.EXE
    

For additional information about downloading, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q119591
   TITLE     : How To Obtain Microsoft Support Files from Online Services

MORE INFORMATION

This document provides an introduction to the concepts of OLE Automation using Visual FoxPro as the OLE client and Microsoft Word for Windows version 7.0, Microsoft PowerPoint for Windows 95 version 7.0, and Microsoft Excel for Windows version 7 as the OLE servers. Its purpose is to provide you with a basic understanding of OLE Automation, the flexibility and power of using OLE Automation, and three practical applications of these concepts. The accompanying Word document contains an overview of how to use the Visual FoxPro form and step-by-step procedures that guide you through the process of using and viewing this example of OLE Automation.


Additional reference words: 5.00 3.00 3.00b softlib VFoxWin
KBCategory: kbole kbprg kbinterop kbfile kbwebcontent
KBSubcategory: FxinteropOle



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.

Last reviewed: October 17, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.