I've lost my messagebeep!

  • Thread starter Thread starter Paolo
  • Start date Start date
P

Paolo

Hi,

I'm doing a simple API function call and I've suddenly one of my beeps!

The code is standard as follows, but when I call the function, I get
nothing. Both produce nothing:


Call MessageBeep(MB_ICONQUESTION)
Call MessageBeep(&H20&)


But If I use any other constant or hexadecimal, I get the appropriate
beep. Help!


Thanks in advance,
Paolo


I don't check this e-mail, only (e-mail address removed), removing
the NOSPAM.


Public Declare Function MessageBeep _
Lib "user32" (ByVal wType As Long) As Long


Public Const MB_ICONASTERISK As Long = &H40&
Public Const MB_ICONEXCLAMATION As Long = &H30&
Public Const MB_ICONQUESTION As Long = &H20&
Public Const MB_ICONINFORMATION As Long = MB_ICONASTERISK
Public Const MB_ICONHAND As Long = &H10&
 
Paolo said:
Hi,

I'm doing a simple API function call and I've suddenly one of my
beeps!

The code is standard as follows, but when I call the function, I get
nothing. Both produce nothing:


Call MessageBeep(MB_ICONQUESTION)
Call MessageBeep(&H20&)


But If I use any other constant or hexadecimal, I get the appropriate
beep. Help!


Thanks in advance,
Paolo

Public Declare Function MessageBeep _
Lib "user32" (ByVal wType As Long) As Long


Public Const MB_ICONASTERISK As Long = &H40&
Public Const MB_ICONEXCLAMATION As Long = &H30&
Public Const MB_ICONQUESTION As Long = &H20&
Public Const MB_ICONINFORMATION As Long = MB_ICONASTERISK
Public Const MB_ICONHAND As Long = &H10&

It may be that your computer's Sound settings have changed. Use the
appropriate control panel applet (on my Win2K system it's "Sounds and
Multimedia") and see if you have any sound associated with the Question
event.
I don't check this e-mail, only (e-mail address removed), removing
the NOSPAM.

Not really relevant, since newsgroup messages are normally answered only
in the newsgroup, not in private e-mail. Doing otherwise defeats the
whole community purpose of these newsgroups.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top