Solved

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

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

791 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