I started playing around with the VLC ActiveX player today, and I wrote this code:
Code: Select all
Public Function GetTrackNames()
Dim tracks As New List(Of String)
tracks.Add("(Disable)") 'Write track 0
For i = 1 To VLCPlugin.audio.count()
tracks.Add(VLCPlugin.audio.description(i)) 'Write other tracks
Next i
Return tracks
End Function
What's going wrong!?
Thanks