Click here for NewsObjects Overview
SoundFile Property (Alert Control)
Windows - Visual C++


Description
The SoundFile property specifies a .wav file that will be played upon a new alert for the specified profile.

Syntax
CString filename = GetSoundFile(LPCTSTR profileCode);
void SetSoundFile(LPCTSTR profileCode, LPCTSTR filename); 

The SoundFile syntax has these parts:

 Part

Description

profileCode

A string specifying a valid profile code. 

filename

A string containing the path and filename of a .WAV file.

Remarks
The default value is "". If this property does not specify a .wav file, a default may be played.

See Also: DefaultAudibleAlert DefaultSoundFile

Back to: Alert Properties