Movie Player ActiveX Control

ChapterCloseFile

 

Close the opened chapter of media file.

Public Function ChapterCloseFile()

 

No Parameter

No Return Value

Example

   

Visual Basic Syntax
MoviePlayer1.ChapterOpenFile "c:\yourfolder\yourfile.mp4"
iCount = Me.MoviePlayer1.ChapterReadChapterCount
For i = 0 To iCount - 1
     List1.AddItem MoviePlayer1.ChapterReadChapterName(i) + " " +
     Str (MoviePlayer1.ChapterReadChapterTime(i))
Next
MoviePlayer1.ChapterCloseFile