Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/102736

From BetaArchive Wiki

SET BELL TO Does Not Work with PC Speaker Driver

ID: Q102736

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 
Version           : 
Platform          : 
Issue type        : 

Last Reviewed: August 11, 1999
© 1999 Microsoft Corporation. All rights reserved. Terms of Use.