Page 1 of 1
How to use vlc plugin in my vb. net project to play media fi
Posted: 16 Sep 2013 12:38
by Terrybogard911
Hi,
I am beginner in vb. net and want to add vlc in my form based application because I don't like media player control at all.
I am starting from scratch so i don't know which file i need to download and from where?
However i have vlc installed in my system and I am using visual basic 2008 on win 7.
I think i need to know which file to download and from which site and its documentation which contain its properties and methods.
Thanks in advance.
Re: How to use vlc plugin in my vb. net project to play medi
Posted: 17 Sep 2013 20:41
by Terrybogard911
I have did something but no success.
Can somebody tell me what wrong i am doing.
1- I downloaded and installed VLC Player 2.0.2 Twoflower and Visual Basic Express 2008. Created a windows form based application project and inserted vlc plugin through "choose toolbox items" dialog box and drag vlc plugin icon from tool box to my form and created a button and this is code i wrote in my form.
Code: Select all
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
AxVLCPlugin1.addTarget("d:\ariflohar.mp3", Nothing, AXVLC.VLCPlaylistMode.VLCPlayListAppendAndGo, 0)
AxVLCPlugin1.play()
End Sub
End Class
Please help what is wrong in it.
Re: How to use vlc plugin in my vb. net project to play medi
Posted: 18 Sep 2013 06:05
by Terrybogard911
Whats the matter? Nobody have 1 min to help a noob?
Re: How to use vlc plugin in my vb. net project to play medi
Posted: 18 Sep 2013 09:15
by RSATom
Just nobody knows the answer.
Re: How to use vlc plugin in my vb. net project to play medi
Posted: 18 Sep 2013 11:16
by Terrybogard911
I got the answer.
I just removed VLC 2.0.2 and installed an old version 0.8.5. Now everything is good. I request moderators to delete this thread.
Re: How to use vlc plugin in my vb. net project to play medi
Posted: 09 Oct 2013 11:57
by rocode
AxVLCPlugin1.addTarget("file:///D:/Vlc/ariflohar.mp3", Nothing, AXVLC.VLCPlaylistMode.VLCPlayListAppendAndGo, 0)