Microsoft KB Archive/126405

From BetaArchive Wiki
Knowledge Base


Article ID: 126405

Article Last Modified on 9/30/2003



APPLIES TO

  • Microsoft Visual FoxPro 3.0 Standard Edition



This article was previously published under Q126405

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:

    102585 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:

102736 SET BELL TO Does Not Work with PC Speaker Driver

95317 Use of SET BELL to Play a Waveform (.WAV) File in FoxPro



Additional query words: FoxWin VFoxWin 2.50 2.50a 2.50b 2.60 2.60a

Keywords: KB126405