VB MCI Control Does Not Support PC Speaker DriverLast reviewed: June 21, 1995Article ID: Q84268 |
The information in this article applies to:
- Professional Edition of Microsoft Visual Basic for Windows, versions 2.0 and 3.0- Microsoft Professional Toolkit for Microsoft Visual Basic programming system for Windows, version 1.0
SUMMARYThe MCI custom does not support playing wave (.WAV) sound files through a PC speaker driver such as SPEAKER.DRV. The MCI custom control (and the Windows Media Player application) uses the MCI sound drivers, which do not support the PC speaker. The Windows default sounds and the Sound Recorder application are the only way to play sounds through the SPEAKER.DRV PC speaker driver.
MORE INFORMATIONThe MCI control manages the recording and playback of multimedia files on Media Control Interface (MCI) devices, such as audio boards, MIDI sequencers, CD-ROM drives, audio CD players, video disc players, and videotape recorders and players. Although the MCI control will not allow you to play .WAV files through the PC speaker, you can use the OLE Client Controls provided with the Professional Edition of the Microsoft Visual Basic for Windows, or with the Microsoft Visual Basic for Windows Professional Toolkit to create and play a linked Sound Recorder object from your Visual Basic for Windows program. The following is an example of this behavior. (Note that you must have the appropriate Windows sound drivers loaded in order to run this program):
For more information on SPEAKER.DRV, query on the following words in the Microsoft Knowledge Base:
SPEAKER.DRV and WDL AND windows AND 3.10 |
Additional reference words: 1.00 2.00 3.00 MCI.VBX
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |