Copyright © 2001-2018 MultiMedia Soft

CuePointsLoadFromFile method

Previous pageReturn to chapter overviewNext page



Loads a set of cue points from a CUE file.

CUE files are in XML format and contain settings for defining a pool of pre-defined cue points: CUE files can be created through your own code or through a call to the CuePointsSaveToFile method.


See the How to add Triggers and Cue Points to a player section for further details about cue points.





[Visual Basic]

control.CuePointsLoadFromFile (

nPlayer as Integer,

strPathname as String

) as enumErrorCodes



short control.CuePointsLoadFromFile (

short nPlayer,

LPCTSTR strPathname









Number representing the zero-based index of the involved player


String containing the absolute pathname of the source CUE file.

An empty string will force the control to search for a CUE file having the same filename of the loaded sound but with extension .cue: if for example the loaded sound file should be named MySong.mp3, the corresponding searched CUE file would be named MySong.cue



Return value






Negative value

An error occurred (see the LastError property for further error details)

enumErrorCodes.NOERROR (0)

The method call was successful.