🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.multimedia
Article #229

Re: Easiest way to beep the speakers

#229
From: Bruce Salzman
Date: Mon, 20 Nov 2006 14:55
22 lines
1577 bytes
"����" <oh_dont@spam.me> wrote in message 
news:4561b3e0@newsgroups.borland.com...
> 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

Try

::MessageBeep(-1);

-- 
Bruce 
Technical Details
Message-ID: <4561c1c9$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.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
References: <45598de3@newsgroups.borland.com> <455d9fec$1@newsgroups.borland.com> <455df52f@newsgroups.borland.com> <4561b3e0@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: " Bruce Salzman" <bruce@nospam.org>
Newsgroups: borland.public.cppbuilder.multimedia
References: <45598de3@newsgroups.borland.com> <455d9fec$1@newsgroups.borland.com> <455df52f@newsgroups.borland.com> <4561b3e0@newsgroups.borland.com>
Subject: Re: Easiest way to beep the speakers
Date: Mon, 20 Nov 2006 08:55:11 -0600
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 24.94.228.231
Message-ID: <4561c1c9$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1164034505 24.94.228.231 (20 Nov 2006 06:55:05 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.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