BUG: Error When Using @ SAY to Play Sounds from General Field

Last reviewed: May 5, 1997
Article ID: Q136278
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, versions 3.0, 3.0b, 5.0, 5.0a

SYMPTOMS

When using the @ SAY command to play a sound that is stored in a general field in Visual FoxPro under Windows 95, one of the following errors occur:

   "OLE error code 0x800101105: The server threw an exception"

   -or-

   "OLE error code 0x80080006: OLE service could not communicate with the
   object server"

If the general field is opened and the sound object is double-clicked, the sound will play.

WORKAROUND

To play the sound, open the general field, and click it. The sound cannot be played with the @ SAY command.

STATUS

Microsoft 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 INFORMATION

Steps to Reproduce Problem

To store sounds in a general field, open the general field, and then click Insert Object on the Edit menu. The following steps add a sound to a Visual FoxPro table, and produce the error.

  1. Create or open a table that has a general field.

  2. Browse the table and open the general field by clicking it or by selecting it and pressing CTRL+PGDN.

  3. On the Edit menu, click Insert Object. Select Wave Sound from the Object Type box.

  4. On the Sound Object box Edit menu, click Insert File, and select a wave file to add to the general field.

  5. Close the Sound Object box. Save and close the general field.

  6. In the Command window, type this command:

    @ 0,0 SAY <general field name> VERB 'PLAY'

    The sound stored in the general field will start to play, but then the error will occur. If you open the general field and click the sound, it will play correctly.


Keywords : buglist3.00 buglist3.00b buglist5.00 FxprgGeneral vfpbug5.0a kbbuglist kbprg
Version : 3.0 3.0b 5.0 5.0a
Platform : WINDOWS
Issue type : kbbug


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: May 5, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.