PRB: OLE Errors with the CREATEOBJECT() FunctionLast reviewed: January 10, 1997Article ID: Q155402 |
The information in this article applies to:
SYMPTOMSOne of the following error messages is received when you use the CREATEOBJECT() function to create OLE objects in Visual FoxPro for Macintosh:
CAUSEOne or more of the Microsoft OLE extensions normally found in the System:Extensions folder are missing, corrupted, or the wrong version.
RESOLUTIONCheck the following files in the System:Extensions folder for the corresponding error messages above:
If the above files are in the System:Extensions folder and the error messages persist, try installing the System software into a new folder (CMD+SHIFT+K on the Install dialog box) and install Visual FoxPro under this new version of the System software. If this resolves the problem, there is probably some sort of corruption in the other System.
MORE INFORMATIONThe error messages above are normally received when using the CREATEOBJECT() function. The following line of code causes this:
oleApp=CREATEOBJECT("Word.Basic") -or- oleApp=CREATEOBJECT("Excel.Application") REFERENCES"Developer's Guide," page 436 Visual FoxPro Help file; search on: "CREATEOBJECT() Function." For additional information, please see the following articles in the Microsoft Knowledge Base:
ARTICLE-ID: Q151853 TITLE : Required Files for the Pivot Table Wizard ARTICLE-ID: Q124635 TITLE : MXL5: Troubleshooting Microsoft Excel 5.0 for the Macintosh ARTICLE-ID: Q120257 TITLE : Error Messages Appear When Starting Application on PowerMac |
KBCategory: kbinterop kb3rdparty kbprb
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |