Hi Tao,
If the sound file is a wav file
SET BELL on
Set Bell To {wave file path}
?CHR(7)
If the format of audio is something else You can use Media Player Activex control.
Aashish
>Hi All,
>
>I want to play an audio file on form after I click on command button or when my form is loading. Any one please help me show the way I can do that.
>
>Thanks very much in advance.
>
>
danhtao@hotmail.com