Problem using Vlc Plugin 2.0.4 with VB.NET

This forum is about all development around libVLC.
Terrybogard911
New Cone
New Cone
Posts: 6
Joined: 18 Jan 2013 18:57

Problem using Vlc Plugin 2.0.4 with VB.NET

Postby Terrybogard911 » 18 Jan 2013 19:03

With vlc installed 0.8.5, I used to write this piece of code to play mp3 files with vlc com plugin in my simple app.
----------
AxVLCPlugin1.addTarget(openfiledialog1.filename, Nothing, AXVLC.VLCPlaylistMode.VLCPlayListAppendAndGo, 0)
AxVLCPlugin1.play()
---------
But now I have installed vlc 2.0.4 and I am unable to play mp3 file using same code. Any changing in code?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Problem using Vlc Plugin 2.0.4 with VB.NET

Postby Jean-Baptiste Kempf » 18 Jan 2013 20:29

Don't use AxVLCPlugin1
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Terrybogard911
New Cone
New Cone
Posts: 6
Joined: 18 Jan 2013 18:57

Re: Problem using Vlc Plugin 2.0.4 with VB.NET

Postby Terrybogard911 » 19 Jan 2013 16:41

So what is proper coding?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Problem using Vlc Plugin 2.0.4 with VB.NET

Postby Jean-Baptiste Kempf » 21 Jan 2013 12:57

Use the version 2.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

PirSoft
New Cone
New Cone
Posts: 4
Joined: 25 Jan 2013 14:08

Re: Problem using Vlc Plugin 2.0.4 with VB.NET

Postby PirSoft » 25 Jan 2013 17:05

i can't using "AxVLCPlugin" control with Vb.net (2010)

Vb.net error message:
"An error occurred creating the form. See Exception.InnerException for details. The error is: Unable to get the window handle for the 'AxVLCPlugin2' control. Windowless ActiveX controls are not supported."

what is this problem?


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 16 guests