>Hi all,
>
>Anyone knows what is the easiest way to play the same sounds for every messagebox type in a custom made messagebox ?
Additionally you could data-drive this. I, as do many, have a MsgSrvr procedure that accepts a string as a key. In a table, I search for this key. When found, my data indicates what kind of UI to display [Messagebox or Wait Window], the full message to display, what buttons to display for MBs, the default button, what Icon, and a WAV file [if any] to play. SET BELL TO [wav file name] might useful to you as well.
Mark McCasland
Midlothian, TX USA