NTSound20.Player ActiveX DLL



Identification

NTSound20.Player

Description

This object is used to play sound file.

Events

SoundNotify ()

Description

This event is raised when the sound stops playing or starts playing, StopSound and PlaySound does not raise this event.

Properties

IsPlaying (Boolean) (ReadOnly)

Description

Specifies whether the sound is currently playing or not.

FileName (String)

Description

Specifies the file name of the sound to be played.

LoopEnabled (Boolean)

Description

Specifies if the player should repeat the sound.

LoopTimes (Long)

Description

Specifies how many times to loop play if loop is enabled.

Functions

PlaySound ()

Description

Start playing the sound based on the properties that are set.

StopSound ()

Description

Stops playing the sound.

Automation

Object:Init (self)

Parameters

self Object

A reference to the object.

Description

Optional event that is called when the object is initialized.

Object:Term (self)

Parameters

self Object

A reference to the object.

Description

Optional event that is called when the object is terminated.