The information in this article applies to:
SYMPTOMSThe following error occurs after you make an OLE Automation call to Corel WordPerfect 7.0:
CAUSEWordPerfect is attempting to send a return value to Visual FoxPro. WORKAROUNDUse an assignment statement to call the object methods. STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. MORE INFORMATIONCorel WordPerfect 7.0 does allow OLE Automation. In Visual FoxPro, you can use the CreateObject command to create a reference to a WordPerfect object, but you will still get the error when you try to call any of its methods. Steps to Reproduce BehaviorType the following commands in the Visual FoxPro Command window:
WordPerfect 7.0 actually creates a new document before Visual FoxPro
generates an error.
To work around the problem, change the last command to the following:
Additional query words:
Keywords : kb3rdparty kberrmsg kbinterop kbole kbVFp kbVFp500abug kbVFp500bug FxinteropOle FxinteropWordproc |
Last Reviewed: August 10, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |