VB.Net problems viewing jpgs
Posted: 07 May 2012 23:45
Hello,
I'm using the ActiveX plugin "AxVLCPlugin21" of VLC to build my own player based on VB.Net. Everything worked fine until I installed the new VLC Player (2.0.1 Twoflower).
Now, I always face problems when loading jpgs i.e. the whole application is frozen and I don't get any exception. Here comes the code causing the crash:
The strange thing is: The first jpg is displayed for 10 seconds but when I try to call the second jpg from my list the crash happened.
In the previous ActiveX version 1.1.11 of VLC I was using the following code to display the media but unfortunately this is not working with the new version 2.0.1:
The only difference to the new implementation is the definition of the path "file:///" but w/o this prefix no media was loaded. Thus, I think something must be wrong with this...
By the way: Other media e.g. avi, mkv, mp3 causes no problem at all.
It would be great if someone could give me a hint to solve my problem since I tried so much but nothing could help so far.
Thank you!
I'm using the ActiveX plugin "AxVLCPlugin21" of VLC to build my own player based on VB.Net. Everything worked fine until I installed the new VLC Player (2.0.1 Twoflower).
Now, I always face problems when loading jpgs i.e. the whole application is frozen and I don't get any exception. Here comes the code causing the crash:
Code: Select all
gv_CurrentMedia = gv_Files(gv_MediaIndex).FullName.ToString
AxVLCPlugin21.playlist.items.clear()
AxVLCPlugin21.playlist.add("file:///" & gv_CurrentMedia)
AxVLCPlugin21.playlist.playItem(0) ' --> CRASH
In the previous ActiveX version 1.1.11 of VLC I was using the following code to display the media but unfortunately this is not working with the new version 2.0.1:
Code: Select all
gv_CurrentMedia = gv_Files(gv_MediaIndex).FullName.ToString
AxVLCPlugin21.playlist.items.clear()
AxVLCPlugin21.playlist.add(gv_CurrentMedia)
AxVLCPlugin21.playlist.playItem(0)
By the way: Other media e.g. avi, mkv, mp3 causes no problem at all.
It would be great if someone could give me a hint to solve my problem since I tried so much but nothing could help so far.
Thank you!