PRB: OLE Errors with the CREATEOBJECT() Function

Last reviewed: January 10, 1997
Article ID: Q155402
The information in this article applies to:
  • Microsoft Visual FoxPro for Macintosh, version 3.0b

SYMPTOMS

One of the following error messages is received when you use the CREATEOBJECT() function to create OLE objects in Visual FoxPro for Macintosh:

  1. Cannot open file Fxole30b.cfm.
2. OLE error code 0x8000FFFF:Catastrophic failure. 3. Cannot open file Microsoft_OLE2.

CAUSE

One or more of the Microsoft OLE extensions normally found in the System:Extensions folder are missing, corrupted, or the wrong version.

RESOLUTION

Check the following files in the System:Extensions folder for the corresponding error messages above:

  1. fxole30b.cfm: 163,604 bytes
2. Microsoft OLE Automation: version 2.06; 537,822 bytes 3. Microsoft OLE Library: version 2.06; 964,784 bytes

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 INFORMATION

The 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
KBSubcategory: FxinteropOle
Additional reference words: 3.00b kbdsd vfoxmac



THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: January 10, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.