|
|
|
Playing A Sound When A Form Opens Comments Playing a sound when a Form opens is simple to do: just call the native PlaySound in the OnShow event, as above. Remember you must include MmSystem in the uses clause. As the sound file is loaded on the fly, it must, of course, be present in the same directory as the application.
. |