RegisterSoundByFile

concerns

The RegisterByFile function registers a WAV sound at the client. The WAV file is saved on the client side.

 

Syntax

RegisterSoundByFile(ByVal ID As String, ByVal SoundFile As String)

Return value

Type

Description

Long

0 if it was carried out error-free

Parameter

Use

Name

Type

Passing

Description

Required

ID

String

ByVal

Freely selectable ID for registration

Required

SoundFile

String

ByVal

Data name

 

Example:

 

Client.Sound.RegisterSoundByFile("Sound1", "[WINDIR]\media\chimes.wav")