FIX: Error Creating OLE Object

ID: Q117620

2.5x 2.6x WINDOWS kbole

The information in this article applies to:

SYMPTOMS

When you use the Insert Object command on the Edit menu to insert an OLE object into a general field and the object is on a CD-ROM, the following error message occurs:

   Error Creating OLE Object

WORKAROUND

To avoid this problem, do one of the following:

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in Visual FoxPro 3.0 for Windows.

MORE INFORMATION

Steps to Reproduce Problem

1. Insert a CD-ROM containing bitmaps or .AVI files in the CD-ROM drive.

2. At the FoxPro for Windows Command window, issue the following commands:

      CREATE TABLE MYTEST (genral g)
      APPEND BLANK
      MODIFY GENERAL mytest.genral

3. From the Edit menu, choose Insert Object.

4. Choose the File button, and then change the drive to the local CD-ROM

   drive. In the List Files Of Type box, select either "Paintbrush Picture
   (*.bmp)" or "Media Clip (*.avi)", select a file from the CD-ROM drive,
   and then choose the Insert button.

   The message "Error Creating OLE Object" appears.

   NOTE: You can reproduce the same error message with the APPEND GENERAL
   command. To see this behavior, issue the following command:

        APPEND GENERAL mytest.genral FROM "<drive>:\<filename>.bmp"

Additional reference words: FoxWin buglist2.50 buglist2.50a buglist2.50b buglist2.60 buglist2.60a 2.50 2.50a 2.50b 2.60 2.60a VFoxWin fixlist3.00 KBCategory: kbole KBSubcategory: FxinteropOle
Keywords          : kberrmsg FxinteropOle 
Version           : 2.5x 2.6x
Platform          : WINDOWS
Solution Type     : kbfix

Last Reviewed: May 22, 1998