Home All Groups Group Topic Archive Search About

No Beep with MSGBOX Possible?

Author
20 Jan 2006 9:38 PM
fripper
Is it possible to display a message box (using the MSGBOX function) without
the beep?


Thanks.

Author
20 Jan 2006 9:53 PM
Armin Zingler
"fripper" <yo***@indiana.edu> schrieb
>
> Is it possible to display a message box (using the MSGBOX function)
> without the beep?


No, not without changing the sound in the sound theme in the control panel.


Armin
Author
20 Jan 2006 10:01 PM
Herfried K. Wagner [MVP]
"fripper" <yo***@indiana.edu> schrieb:
> Is it possible to display a message box (using the MSGBOX function)
> without the beep?

No.

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
20 Jan 2006 10:53 PM
Ken Halter
"fripper" <yo***@indiana.edu> wrote in message
news:OZOqXngHGHA.2628@TK2MSFTNGP15.phx.gbl...
>
> Is it possible to display a message box (using the MSGBOX function)
> without the beep?
>
>
> Thanks.

As others say.... Nope... the reason is that it's a user specific setting.
Some people want audio feedback when a message box pops up. The ones that
don't, use the control panel to turn the beep off. fwiw, I've had some real
fun with this <g> I downloaded a bunch of 'Beavis and Butthead' audio clips
and used those for all kinds of different Windows sounds... when my PC
booted, it used to say "heh-heh-heh- This is the coolest thing I've ever
seen!" in Buttheads' voice.... My "Critical" messagebox flag would play one
that said "Dumb ass!" in Buttheads' voice. That got old in short order <g>

--
Ken Halter - MS-MVP-VB (visiting from VB6 world) - http://www.vbsight.com
Please keep all discussions in the groups..
Author
21 Jan 2006 12:42 AM
fripper
Golly, three replies within an hour or so of my posting ... newsgroups are a
remarkable way of getting questions answered.  I recognize your names from
earlier posts I have made ... you are providing a terrific service (I
presume you are well paid for your efforts).  Thanks very much for the quick
replies ... not the answer I wanted to hear but helfpul nonetheless.
Author
21 Jan 2006 1:26 AM
Armin Zingler
"fripper" <yo***@indiana.edu> schrieb
>
> Golly, three replies within an hour or so of my posting ...
> newsgroups are a remarkable way of getting questions answered.  I
> recognize your names from earlier posts I have made ... you are
> providing a terrific service (I presume you are well paid for your
> efforts).  Thanks very much for the quick replies ... not the answer
> I wanted to hear but helfpul nonetheless.


We get paid as much as you get paid for asking. :-)


Armin
Author
21 Jan 2006 11:10 PM
hayworth@hotmail.com
Not directly that I know of.  An alternative would be to create your
own form in your project that has all the buttons you could possibly
want, and then a label for your prompt.  You could load it, set flags
for what buttons you want to have visible, set your prompt label, and
then display it.  When a user clicks on a button, set some public flag
variable and then hide the form.  Back in the calling program, it will
return when you hide the form, and in your code there in the calling
program, you can check for various button flags, and destroy the form.
Somewhat of a manual workaround but it works great.  I do it all the
time.
Mark H.