Solved

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

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

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…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

763 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