Microsoft KB Archive/169547
Article ID: 169547
Article Last Modified on 1/19/2007
- Microsoft Word 97 Standard Edition
- 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 Q169547
When you attempt to call Word 97 Visual Basic for Applications methods from Microsoft Visual FoxPro, you may receive the following error message:
To correct this problem, install Microsoft Word 97 Service Release 1 (SR-1).
To work around this problem, use the Microsoft Word Visual Basic for Applications WordBasic object to call the required methods as in the following example:
Microsoft has confirmed this to be a problem in Microsoft Word 97 for Windows. This problem was corrected in Microsoft Word 97 SR-1.
For additional information about SR-1, please see the following article in the Microsoft Knowledge Base:
172475 OFF97: How to Obtain and Install MS Office 97 SR-1
There are a number of Word 97 Visual Basic for Applications automation calls (the SaveAs method, for example) that fail when invoked from Microsoft Visual FoxPro versions 5.x and 6. Attempting to invoke these methods returns "Type Mismatch" errors.
Additional query words: SR1 release1 8.0 8.00 vb vbe vba
Keywords: kbbug kbdtacode kberrmsg kbfix kbprogramming KB169547