Solved

how do you know when MB_ICONQUESTION is assigned a wave file or not?

Posted on 2002-06-17
2
161 Views
Last Modified: 2010-04-04
how do you know when MB_ICONQUESTION is assigned a wave file or not?    

    try
      MessageBeep(MB_ICONQUESTION);
    except
      Beep;
    end;

the above code does not result a "standard beep" since there is a sound card present but no wave file is assigned to MB_ICONQUESTION ...

thanks
0
Comment
Question by:ttanyag
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 11

Accepted Solution

by:
robert_marquardt earned 75 total points
ID: 7083420
I found the assignment in HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Current\SystemAsterisk\.Current on my Win NT. .Default also.
0
 
LVL 34

Expert Comment

by:Slick812
ID: 7084511
I'm not sure a try -  except will catch the message beep since it does not throw an exception use

if not MessageBeep(MB_ICONQUESTION) then Beep;
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question