Page 1 of 1
ActiveX on a VB classic form
Posted: 23 Apr 2015 01:16
by dhepburn
Hi, I dropped the "VideoLAN.VLCPlugin.2 ActiveX" onto a form in my VB6 app but each time the window opens it flashes up the controls toolbar (play/pause/volume/etc) at the bottom of the object for a few seconds. I tried setting ole_vlc.toolbar = false (this made no difference) and ole_vlc.controls = false (this gets a runtime error property unknown). I also tried ole_vlc.toolbar(false) with no difference. I didn't have this problem in v1.7 (I've only just updated my app with the latest VLC).
How can I disable the toolbar/controls so it never shows?
Re: ActiveX on a VB classic form
Posted: 28 Apr 2015 06:17
by dhepburn
Sorry to persist on this guys but I'm at the point I may have to abandon VLC for my project. Something I don't want to do cause it has been pretty good for me with version 1.7 up til now. Problem is I'm finding I have to write various bits of code to get around VLC crashes etc. that happen in this old version ActiveX. Every time I make a new function in the app, I find a new bug that causes VLC to crash - nothing I'm doing particularly, just that this older version is "buggy".
So now I want to move to V2.2 but two things are stopping me - I can't hide the controls when VLC ActiveX first starts playing a media file, and I can't hide the cone logo when it loads each media file.
Can someone please add the ability to hide these things in the new version so that I can get it to work similar to v1.7?
Re: ActiveX on a VB classic form
Posted: 02 May 2015 20:10
by Jean-Baptiste Kempf
Please share a code sample.