SET BELL TO Does Not Work with PC Speaker Driver
The information in this article applies to:
- Microsoft FoxPro for Windows, version 2.5
Issuing a SET BELL TO <frequency>,<duration> command produces only a clicking sound out of the PC's speaker if the PC Speaker driver has been loaded by using the Drivers icon in the Windows Control Panel.
For example, with the PC Speaker driver loaded on a machine, if you issue a SET BELL TO 1400,3 command and then a ?CHR(7), the results will be a series of clicks.
This is a limitation of the PC Speaker driver. Use either of the following methods to correct this problem:
If a multimedia driver is installed, use the command:
SET BELL TO "myfave.snd",0
- or -
Run Control Panel, choose the Drivers icon, and remove the PC Speaker Driver. Then restart Windows and FoxPro for Windows. If you issue a SET BELL TO 1400,3 command and then a ?CHR(7), the results will now be a bell.
NOTE: The bell may also fail if the Set Console option is turned off. Be sure that Set Console is On.
Additional query words: FoxWin 2.50 speaker bell set
Keywords : FxprgGeneral
Issue type :