My VLC Media Player in VB.NET won't do anything?

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
NotVLCWorking
Blank Cone
Blank Cone
Posts: 14
Joined: 21 Jan 2013 18:54

My VLC Media Player in VB.NET won't do anything?

Postby NotVLCWorking » 22 Jan 2013 12:37

My code looks to be right, but when I press button nothing happens. What am I doing wrong?

Code below:

Public Class Form1
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
AxVLCPlugin21.playlist.add("C:\Users\Adminx\Downloads\The_Hobbit_Full_Length_Trailer_2_HD.mp4")

AxVLCPlugin21.playlist.play()
End Sub

End Class

Also in my toolbox the vlc things are written in Chinese. Is it meant to look like that? (look at picture below)

You may have to open image in new window, vlc forum seems to be only showing half of the image.
Image

NotVLCWorking
Blank Cone
Blank Cone
Posts: 14
Joined: 21 Jan 2013 18:54

Re: My VLC Media Player in VB.NET won't do anything?

Postby NotVLCWorking » 22 Jan 2013 17:49

I even tried to do this in vmware on a fresh windows 7 and a fresh vlc and microsoft visual studio express 2012. And this still won't do anything (the vlc items in the toolbox still appear in chinese)

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: My VLC Media Player in VB.NET won't do anything?

Postby Jean-Baptiste Kempf » 23 Jan 2013 17:57

Without logs, we cannot help much.
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.

NotVLCWorking
Blank Cone
Blank Cone
Posts: 14
Joined: 21 Jan 2013 18:54

Re: My VLC Media Player in VB.NET won't do anything?

Postby NotVLCWorking » 23 Jan 2013 22:35

What do you mean by logs?

Lotesdelere
Cone Master
Cone Master
Posts: 9971
Joined: 08 Sep 2006 04:39
Location: Europe

Re: My VLC Media Player in VB.NET won't do anything?

Postby Lotesdelere » 24 Jan 2013 08:54

Open Tools -> Messages (set Verbosity to 2) before you start the playback and then paste the full resulting log here or on Pastebin.com if it's too long.

NotVLCWorking
Blank Cone
Blank Cone
Posts: 14
Joined: 21 Jan 2013 18:54

Re: My VLC Media Player in VB.NET won't do anything?

Postby NotVLCWorking » 24 Jan 2013 14:25

There's not an option for that in visual basic?

NotVLCWorking
Blank Cone
Blank Cone
Posts: 14
Joined: 21 Jan 2013 18:54

Re: My VLC Media Player in VB.NET won't do anything?

Postby NotVLCWorking » 24 Jan 2013 14:34

I've figured what I was doing wrong :-)

I needed to change:
AxVLCPlugin21.playlist.add("C:\Users\Adminx\Downloads\The_Hobbit_Full_Length_Trailer_2_HD.mp4")

To this:
AxVLCPlugin21.playlist.add("file:///C:/Users/Adminx/Downloads/The_Hobbit_Full_Length_Trailer_2_HD.mp4")

Thanks for the help :-)


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Bing [Bot], blueice_haller and 22 guests