Solved

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

Posted on 2002-06-17
2
150 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
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 33

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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
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…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

743 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now