Re: Making a beep
- From: "Jon Davis" <jon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 15 Dec 2006 00:05:12 -0700
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.
.
- Prev by Date: Re: Sun Java System Directory Server Authentication
- Next by Date: Mailmerging to a pre-defined template
- Previous by thread: Re: Making a beep
- Next by thread: Re: Making a beep
- Index(es):
Relevant Pages
|