Re: Making a beep

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Bear in mind given the feedback you have received, not all systems beep the
same way--for example, some systems "beep" a frequency through the speaker,
while others beep using a WAV file--yet Windows has a standard Beep signal
that defaults one for the other depending on audio card configuration and
user settings. (In the early Macintosh world, this was extended further with
visual feedback along with audible feedback.) For this reason, if you really
want a beep, you should stick with this Windows "beep" signal rather than
assume to send a frequency to the speaker or play a specific WAV file.

Off the top of my head, the only method I know of to invoke the Windows beep
signal most "naturally" (i.e. without actually calling the "Beep" WAV file
and without sending a frequency to the speaker) is to reference the Visual
Basic .NET class library and call its Beep() function.

http://msdn.microsoft.com/library/en-us/vblr7/html/vastmBeep.asp?frame=true

Jon




"Jesper, Denmark" <JesperDenmark@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:8371A726-A7A2-4809-BB28-7DB79E26E86E@xxxxxxxxxxxxxxxx
What is the easiet way to make a beep in c#. When code passes a certain
point
i would like a beep in a windows application.

Regards.
Jesper.


.



Relevant Pages

  • Re: AC Power Start/Stop Sound: How Do I Change It?
    ... All of the standard Windows default AppEvents sounds are in this folder. ... Double click all of the wave files to hear them and to put a name to the file if you find it. ... When you say ThinkPads emulate the system speaker, ... Manager Global Power Settings there is a check box, Beep when power ...
    (microsoft.public.windowsxp.customize)
  • Re: Modem
    ... > I upgraded to windows XP a short time ago, I have noticed that when I turn my ... If the beep occurs before Windows starts to load, it may be a "beep code" ... There may be a menu in BIOS setup that could help with this. ... the popping could possibly be the positioning of the sound card. ...
    (microsoft.public.windowsxp.newusers)
  • Re: Modem
    ... problem before I upgraded to windows XP and someone told me it was my modem. ... It is not a beep that I hear when starting up, it is hard to explane, but it ... the popping could possibly be the positioning of the sound card. ...
    (microsoft.public.windowsxp.newusers)
  • Re: Windows XP will not boot after updating
    ... Both times I had used the same Ethernet jack on my motherboard. ... Goggle for your motherboard beep codes. ... Windows Update site and checked of all of the updates that I wanted. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Annoying beeps
    ... I'm interesting in how can you run a computer at a temperature of just 49 ... If you have more than two ram chips on the mobo, ... for testing the specific program that cause the PC to beep. ... and it only happens when I open new windows of certain programs. ...
    (microsoft.public.windowsxp.hardware)