?
Solved

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

Posted on 2002-06-17
2
Medium Priority
?
169 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 150 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

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

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

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses
Course of the Month10 days, 18 hours left to enroll

770 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