Microsoft KB Archive/102736: Difference between revisions

From BetaArchive Wiki
(importing KB archive)
 
m (Text replacement - "<" to "<")
 
(2 intermediate revisions by the same user not shown)
Line 22: Line 22:
== SUMMARY ==
== SUMMARY ==


Issuing a SET BELL TO &lt;frequency&gt;,&lt;duration&gt; 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.<br />
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.<br />
<br />
<br />
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.<br />
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.<br />
Line 30: Line 30:
If a multimedia driver is installed, use the command:
If a multimedia driver is installed, use the command:


<pre class="CODESAMP">  SET BELL TO &quot;myfave.snd&quot;,0 </pre>
<pre class="CODESAMP">  SET BELL TO "myfave.snd",0 </pre>
- or -<br />
- or -<br />
<br />
<br />

Latest revision as of 09:15, 20 July 2020

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




SUMMARY

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.