PlaySound

concerns

The PlaySound function plays a wav file at the client. This type file is only supported by the Windows client. To use sounds on Windows and web clients, please use methods of the sound object.

 

Syntax

PlaySound(SoundFile)

Return value

None

Parameter

Use

Name

Type

Passing

Description

Required

Soundfile

String

ByVal

Name of the wav file on the client. Predefined directories are supported.

 

ID

Predefined directory

[TMPDIR]

the current path to the current temporary directory

[APPDIR]

the path to the directory programs

[WINDIR]

the path to the Windows directory

[SYSDIR]

the path to the System32 directory

 

Example:

 

Client.PlaySound("[WINDIR]\media\chimes.wav")