Movie Player ActiveX Control

VOBGetStreamCount

 

Get the number of available streams.(For MPEG2, VOB plugin only)

Public Function VOBGetStreamCount( ) as Integer

 

No Parameter

Return Value
Return the the number of available streams.


Example

   

Visual Basic Syntax
MoviePlayer1.FileName = "c:\test.vob"
List1.Clear

For i = 0 To MoviePlayer1.VOBGetStreamCount - 1
    List1.AddItem MoviePlayer1.VOBGetStreamName(i)
Next

If List1.ListCount > 0 Then
    List1.ListIndex = 0
End If