Article View: borland.public.cppbuilder.multimedia
Article #228Re: Easiest way to beep the speakers
From: ����
Date: Sun, 19 Nov 2006 19:49
Date: Sun, 19 Nov 2006 19:49
44 lines
2257 bytes
2257 bytes
If I de-attach the sound card under WinXP
then internal speaker will beep !!!
but I want to beep it when I have the sound card attached to mainboard.
You know?
I want to alert the user, when he made a mistake
a ShowMessage, an Image visibility and both Internal Speaker and Soudncard
Speaker will alert him !!
I wonder how to beep the internal speaker
Thanks everybody
"4N" <xxxx@yyyy.zzz> wrote in message
news:455df52f@newsgroups.borland.com...
> Beep works also without parameters
>
> "Mark Jacobs" <http://www.jacobsm.com/mjmsg?Borland%20Newsgroup> ha
scritto
> nel messaggio news:455d9fec$1@newsgroups.borland.com...
> > ���� wrote:
> >> I want to send a beep to both Internal Case Speaker and also Sound
> >> Cart But the easiest way, API only , no component , no OCX, etc...
> >> is there any idea?
> >
> > Try Beep(3000,500); for sound on the PC speaker (works for me under XP).
> >
> > Also,
> >
> > PlaySound("SystemQuestion",HInstance,SND_ALIAS|SND_ASYNC);
> >
> > plays the System Question sound (whatever that is configured as) on the
> > proper speakers (attached to the sound card)
> >
> > HTH,
> > --
> >
> > To be aware is to care.
> > -
> > Mark Jacobs
> > DK Computing
> > http://www.dkcomputing.co.uk
> >
>
>
Technical Details
Message-ID:
<4561b3e0@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<45598de3@newsgroups.borland.com> <455d9fec$1@newsgroups.borland.com> <455df52f@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10d0fc,48645038bf79d9cf X-Google-Attributes: gid10d0fc,public X-Google-Language: ENGLISH,ASCII From: "����" <oh_dont@spam.me> Newsgroups: borland.public.cppbuilder.multimedia References: <45598de3@newsgroups.borland.com> <455d9fec$1@newsgroups.borland.com> <455df52f@newsgroups.borland.com> Subject: Re: Easiest way to beep the speakers Date: Sun, 19 Nov 2006 23:19:04 +0330 Lines: 46 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2479.0006 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2479.0006 NNTP-Posting-Host: 80.191.116.63 Message-ID: <4561b3e0@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1164030944 80.191.116.63 (20 Nov 2006 05:55:44 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail