PRB: Cannot Hear Bell in FoxPro for Windows

Last reviewed: November 28, 1995
Article ID: Q126405
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, version 3.0
  • Microsoft FoxPro for Windows, versions 2.5x, 2.6x

SYMPTOMS

If you have installed multimedia software or a sound board, using CHR(7) to ring the bell may no longer work in FoxPro. The bell is silent whether you SET BELL TO a wave file, or to the normal system bell.

CAUSE

The multimedia software installed TIMER.DRV as a device driver in the [DEVICE] section of the SYSTEM.INI file. TIMER.DRV is causing a conflict with FoxPro and the bell is not ringing.

WORKAROUND

There are two possible resolutions to the problem:

  1. Remove TIMER.DRV by choosing the Control Panel Drivers icon, highlighting the TIMER.DRV entry, and clicking the Remove push button.

  2. Use the steps outlined in the following article in the Microsoft Knowledge Base:

    ARTICLE-ID: Q102585

       TITLE     : How to Play Waveform (.WAV) Files in FoxPro for Windows
    
       This article explains how to use FOXTOOLS.FLL to call the Windows
       multimedia API to play a sound file. This article will work regardless
       of which multimedia driver is installed, or whether or not a sound
       board is installed.
    
    

STATUS

This behavior is by design.

MORE INFORMATION

For more information, please see the following related articles in the Microsoft Knowledge Base:

   ARTICLE-ID: Q102736
   TITLE     : SET BELL TO Does Not Work with PC Speaker Driver

   ARTICLE-ID: Q95317
   TITLE     : Use of SET BELL to Play a Waveform (.WAV) File in FoxPro


Additional reference words: FoxWin VFoxWin 2.50 2.50a 2.50b 2.60 2.60a 3.00
KBCategory: kbprg
KBSubcategory: FxprgGeneral


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: November 28, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.