WD97: Some OLE Automation Commands Fail with Visual Fox Pro 5.xLast reviewed: August 15, 1997Article ID: Q169547 |
The information in this article applies to:
SYMPTOMSWhen you attempt to call Word 97 Visual Basic for Applications methods from Microsoft Visual Fox Pro version 5.x, you may receive the following error:
OLE error code 0x800200005. Type Mismatch. RESOLUTIONTo 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:
WordObj.WordBasic.FileSaveAs "C:\MyDoc.Doc" STATUSMicrosoft 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:
ARTICLE-ID: Q172475 TITLE : OFF97: How to Obtain and Install MS Office 97 SR-1 MORE INFORMATIONThere are a number of Word 97 Visual Basic for Applications automation calls (the SaveAs method, for example) that fail when invoked from Microsoft Visual Fox Pro version 5.x. Attempting to invoke these methods returns "Type Mismatch" errors.
|
Additional query words: SR1 release1 8.0 8.00 vb vbe vba
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |