I'm making an audio player with VB 2005 and I was thinking of using VLC ActiveX.
This is how I open an audio file and start playing it:
Code: Select all
VLC.playlistClear()
VLC.addTarget("D:\Track03.MP3", Nothing, AXVLC.VLCPlaylistMode.VLCPlayListInsert, 0)
VLC.play()
The pauseEvent, playEvent and stopEvent did not seem to work. And I could not find an event for end of stream!
Or should I use another component, since I do not need to use the built in playlist functions included in the ActiveX plugin?
PS: I have AutoLoop and AutoPlay disabled.[/code]