PlaySound
Posted by Mohammad Rahhal, Last modified by Laith Ghawi on 04 July 2019 01:18 PM

Syntax

Public Function PlaySound(FilePath As String) As Boolean

Description

This function is used to play specific sound 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



Back to VTL Client Script Index

(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions