Microsoft KB Archive/136278

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

Article ID: 136278

Article Last Modified on 5/6/2003

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0 Standard Edition
 * Microsoft Visual FoxPro 3.0b Standard Edition
 * Microsoft Visual FoxPro 5.0 Standard Edition
 * Microsoft Visual FoxPro 5.0a
 * Microsoft Visual FoxPro 6.0 Professional Edition

-



This article was previously published under Q136278



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.



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.

 Create or open a table that has a general field. Browse the table and open the general field by clicking it or by selecting it and pressing CTRL+PGDN. On the Edit menu, click Insert Object. Select Wave Sound from the Object Type box. On the Sound Object box Edit menu, click Insert File, and select a wave file to add to the general field. Close the Sound Object box. Save and close the general field.  In the Command window, type this command: @ 0,0 SAY 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. </li></ol>

Additional query words: kbvfp300 kbvfp500 kbvfp600

Keywords: kbbug KB136278

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.