ActiveX on a VB classic form

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
dhepburn
Blank Cone
Blank Cone
Posts: 22
Joined: 04 Jun 2009 12:53

ActiveX on a VB classic form

Postby dhepburn » 23 Apr 2015 01:16

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?

dhepburn
Blank Cone
Blank Cone
Posts: 22
Joined: 04 Jun 2009 12:53

Re: ActiveX on a VB classic form

Postby dhepburn » 28 Apr 2015 06:17

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?

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: ActiveX on a VB classic form

Postby Jean-Baptiste Kempf » 02 May 2015 20:10

Please share a code sample.
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.


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 46 guests