Syntax
Public Function PlaySound(FilePath As String) As Boolean
Description
This function is used to play specificsound from a given source file.
Parameters
Key | Description |
FilePath | The sound file path, the file must be WAV audio file. |
Return value
Return true if a sound has been played else return false.
Sample
Public Sub main () AlertMessage PlaySound (C:Sound.Wav) Return true if the sound play successfully End sub
See Also