Movie Player ActiveX Control

GetThirdPartyDecoderName

 

Get specific Name of Third Party Decoder available. If use this method, you must set UseDecoderFilter property = true

Public Function GetThirdPartyDecoderName(
  ByVal iIndex As Integer
) as String 

 

Parameter
iIndex
The index of third party decoder, the first index is 0.

Return Value
Return the name of Filter.

Example

   

Visual Basic Syntax
MoviePlayer1.UseDecoderFilter=true
MoviePlayer1.FileName="c:\test.mpg"
iCount = Me.MoviePlayer1.GetThirdPartyDecoderCount
List2.Clear
For i = 0 To iCount - 1
   List2.AddItem MoviePlayer1.GetThirdPartyDecoderName(i)
Next