The information in this article applies to:
SUMMARYWd97vba.exe contains a header file, Wordvba.h. The Wordvba.h header file contains the preprocessor directives used by Microsoft Word 97 SR-1 in Visual Basic for Applications (VBA) code. MORE INFORMATIONThe following files are available for download from the Microsoft
Download Center. Click the file names below to download the files: WD97VBA.exeFor more information about how to download files from the Microsoft Download Center, please visit the Download Center at the following Web address http://www.microsoft.com/downloads/search.aspand then click How to use the Microsoft Download Center. Microsoft Word 97 uses the MSword8.olb type library to obtain the values of preprocessor directives used in Word VBA code. Visual FoxPro can not take advantage of the type library. Using the values of these preprocessor directives requires you to reference the constants in the Word Visual Basic Applications Object Browser, or some other tool that can read information from the type library. The header file, Wordvba.h, can be included in FoxPro code. You can then use the Word VBA constants as they are used in other VBA applications. A second way to use this file is as a reference for Word 97 VBA constants without having to open the Object Browser in Word. To use the file in Visual FoxPro for Windows, issue the following command in your Visual FoxPro for Windows code:
Sample code for using the Word VBA header file instead of having to find
the values of the preprocessor directives follows.
Sample Code
(c) Microsoft Corporation 1998, All Rights Reserved. Contributions by Dean
Christopher, Microsoft Corporation
Additional query words: kbDSupport kbDSE vfoxwin kbOLE
Keywords : kbfile kbVFp kbVFp500 kbDSupport |
Last Reviewed: December 2, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |