VB6 and VLC

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
RSATom
Big Cone-huna
Big Cone-huna
Posts: 513
Joined: 24 Nov 2011 06:55
Operating System: Windows/Linux/OsX
Location: Russia, Tomsk

Re: VB6 and VLC

Postby RSATom » 23 Mar 2012 13:08

I'm afraid "description" now available only for Mozilla plugin.

chris2000
Blank Cone
Blank Cone
Posts: 16
Joined: 14 Feb 2012 15:31

Re: VB6 and VLC

Postby chris2000 » 23 Mar 2012 13:14

the only way to found is to use a other utility (DVBGuide.exe). And take the EPG one time at week and put into a BASE.

RSATom
Big Cone-huna
Big Cone-huna
Posts: 513
Joined: 24 Nov 2011 06:55
Operating System: Windows/Linux/OsX
Location: Russia, Tomsk

Re: VB6 and VLC

Postby RSATom » 24 Mar 2012 05:29

http://code.google.com/p/vc-axnp-vlc/do ... p&can=2&q=
+ added MediaDescription interface
+ based on libvlc_media_list_player
+ reenabled support of "loop" property

builded by VC2008

6i6i
New Cone
New Cone
Posts: 9
Joined: 21 Mar 2012 11:57

Re: VB6 and VLC

Postby 6i6i » 26 Mar 2012 23:21

Hi!

I tried to use your DLL but i can't register it with regsvr32.exe

The error message says (german):
LoadLibrary("axvlc.dll") fehlgeschlagen - Die angegebene Prozedur wurde nicht gefunden.
This message means in english: LoadLibrary("axvlc.dll") failed - The given procedure was not found.


I installed VC2008 redist package from microsoft homepage

Do I need any additional components?

Thank you!

RSATom
Big Cone-huna
Big Cone-huna
Posts: 513
Joined: 24 Nov 2011 06:55
Operating System: Windows/Linux/OsX
Location: Russia, Tomsk

Re: VB6 and VLC

Postby RSATom » 27 Mar 2012 04:58

you need libvlc.dll in you %PATH%

6i6i
New Cone
New Cone
Posts: 9
Joined: 21 Mar 2012 11:57

Re: VB6 and VLC

Postby 6i6i » 27 Mar 2012 22:29

I added it to %PATH% but it gives me the same error message:
C:\Programme\VideoLAN\VLC>dir
Volume in Laufwerk C: hat keine Bezeichnung.
Volumeseriennummer: 8870-4B1F

Verzeichnis von C:\Programme\VideoLAN\VLC

26.03.2012 23:10 <DIR> .
26.03.2012 23:10 <DIR> ..
08.03.2012 01:36 7.789 AUTHORS.txt
24.03.2012 11:20 290.816 axvlc.dll
08.03.2012 01:36 294 axvlc.dll.manifest
08.03.2012 01:39 414.720 axvlc.dll_old
08.03.2012 01:36 18.431 COPYING.txt
08.03.2012 23:19 55 Documentation.url
08.03.2012 01:39 107.008 libvlc.dll
08.03.2012 01:39 2.288.128 libvlccore.dll
08.03.2012 23:18 <DIR> locale
08.03.2012 23:18 <DIR> lua
08.03.2012 01:36 114.828 NEWS.txt
08.03.2012 23:19 64 New_Skins.url
08.03.2012 01:39 306.176 npvlc.dll
08.03.2012 01:36 294 npvlc.dll.manifest
08.03.2012 23:18 <DIR> osdmenu
24.03.2012 03:42 <DIR> plugins
08.03.2012 01:36 2.687 README.txt
08.03.2012 23:18 <DIR> sdk
08.03.2012 23:18 <DIR> skins
08.03.2012 01:36 1.173 THANKS.txt
08.03.2012 23:19 211.733 uninstall.exe
08.03.2012 23:19 50 VideoLAN Website.url
08.03.2012 01:39 107.008 vlc-cache-gen.exe
08.03.2012 01:39 109.056 vlc.exe
08.03.2012 01:36 825 vlc.exe.manifest
19 Datei(en) 3.981.135 Bytes
8 Verzeichnis(se), 5.266.100.224 Bytes frei

C:\Programme\VideoLAN\VLC>echo %PATH%
C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programme\Git\cmd;C:\
Programme\Git\bin;C:\Programme\VideoLAN\VLC

C:\Programme\VideoLAN\VLC>regsvr32 axvlc.dll
Thanks!

RSATom
Big Cone-huna
Big Cone-huna
Posts: 513
Joined: 24 Nov 2011 06:55
Operating System: Windows/Linux/OsX
Location: Russia, Tomsk

Re: VB6 and VLC

Postby RSATom » 28 Mar 2012 05:45

I added it to %PATH% but it gives me the same error message:
Thanks!
try check what modules axvlc.dll depends on with http://www.dependencywalker.com/

6i6i
New Cone
New Cone
Posts: 9
Joined: 21 Mar 2012 11:57

Re: VB6 and VLC

Postby 6i6i » 29 Mar 2012 10:41

I think it has something todo with an wrong version ov libvlc.
Image

But I installed now the latest: vlc-2.1.0-git-20120329-0006-win32.exe

RSATom
Big Cone-huna
Big Cone-huna
Posts: 513
Joined: 24 Nov 2011 06:55
Operating System: Windows/Linux/OsX
Location: Russia, Tomsk

Re: VB6 and VLC

Postby RSATom » 29 Mar 2012 11:40

please make screenshot with libvlc.dll selected in left tree.

6i6i
New Cone
New Cone
Posts: 9
Joined: 21 Mar 2012 11:57

Re: VB6 and VLC

Postby 6i6i » 29 Mar 2012 14:13

Here it is.
1.
Image

2.
Image

RSATom
Big Cone-huna
Big Cone-huna
Posts: 513
Joined: 24 Nov 2011 06:55
Operating System: Windows/Linux/OsX
Location: Russia, Tomsk

Re: VB6 and VLC

Postby RSATom » 29 Mar 2012 15:35


6i6i
New Cone
New Cone
Posts: 9
Joined: 21 Mar 2012 11:57

Re: VB6 and VLC

Postby 6i6i » 29 Mar 2012 16:30

No problem :-).

No regsvr32 works. And I can also add the VLCPlugin21 component into my form in VB6 IDE.

However if I try to compile or start the project following error comes up and the IDE crashes:
Image

I event tried with a new empty Project added only the VLCPlugin21 component into the form and compiled. -> Same error.

RSATom
Big Cone-huna
Big Cone-huna
Posts: 513
Joined: 24 Nov 2011 06:55
Operating System: Windows/Linux/OsX
Location: Russia, Tomsk

Re: VB6 and VLC

Postby RSATom » 29 Mar 2012 17:13

very bad... Is it works in Internet Explorer?

and try please with 2.0.1.

naamah75
New Cone
New Cone
Posts: 4
Joined: 14 May 2012 21:13

Re: VB6 and VLC

Postby naamah75 » 15 May 2012 10:30

1. yes with "file:///" play Files (thanks)
2. EPG. If i cant take the EPG there are a option to take what play Now, Next? or export the EPG to xml file and read later from that?
I bilieve when play DVB-T the VLC2.input.Position, VLC2.input.Length is from EPG (what play Now).
3. I try to put Logo and work. But how i can resize the picture? i dont now how work vlc2.video.logo.Position at VB6.
Only PNG files can see? Can i put more that one bitmap on video?
4. Try and the Overlay Text and work. But when i try to maker faster Refresh (VLC2.video.marquee.Refresh < 300) lose fps from Video.
Can i put more that one Text on video?

Thanks RSATom for your time.
I'm trying to use the marquee in VB.NET but the marquee aren't showed... you can help-me? you can post the code for the marquee? what version on AxVLCplugin use? framework number?

Thanks!

chris2000
Blank Cone
Blank Cone
Posts: 16
Joined: 14 Feb 2012 15:31

Re: VB6 and VLC

Postby chris2000 » 15 May 2012 11:37

with that code (vb6) can play the channel 1 form frequency 654Mhz
VLC2.playlist.Add "dvb-t://frequency="654000000", ":audio-track=1", "program=1"
VLC2.playlist.Next

For EPG i use the "DVBGuide.exe" (external utility) and take the EPG and put in a base.

i use vlc 2.0.1 with that http://vc-axnp-vlc.googlecode.com/files ... c2008e.zip "axvlc.dll" from RSATom.

6i6i
New Cone
New Cone
Posts: 9
Joined: 21 Mar 2012 11:57

Re: VB6 and VLC

Postby 6i6i » 10 Jun 2012 12:39

Hi!

Could you describe how you do this with DVBGuide.exe in VB6?

BR

chris2000
Blank Cone
Blank Cone
Posts: 16
Joined: 14 Feb 2012 15:31

Re: VB6 and VLC

Postby chris2000 » 10 Jun 2012 16:32

Can you use run with a bat file that:
DVBGuide.exe -b8 -c226500 -o chan.xml

And take at chan.xml the epg from that freq. Next read the xml and put at data base.

6i6i
New Cone
New Cone
Posts: 9
Joined: 21 Mar 2012 11:57

Re: VB6 and VLC

Postby 6i6i » 11 Jun 2012 22:50

Thank you for you quick reply, but I am searching for a solution without dvbguide.exe

Today I installed vlc-2.1.0-git-20120611-0004-win32.exe and saw, that there is a new version of axvlc.dll (2.0.2.0). Can someone explain the changes?
I searched in trac but couldn't find any information what was really changed there. What i saw, was a patch provided by RSATom, where the mediaDescription Interface was added. I tried the new version with my visual basic project, but could only get the vlc.mediaDescription.title displayed. I need the vlc.mediaDescription.nowPlaying string in my project. Are there any plans to provide this informations?

BR

TheyKilledKenny
New Cone
New Cone
Posts: 5
Joined: 16 Jul 2010 18:21

Re: VB6 and VLC

Postby TheyKilledKenny » 02 Jul 2012 21:05

http://code.google.com/p/vc-axnp-vlc/do ... p&can=2&q=
+ added MediaDescription interface
+ based on libvlc_media_list_player
+ reenabled support of "loop" property

builded by VC2008
@RSATom: Thank you very much for you ActiveX, now I can try to use VLC on device (PanelPC) with WindowsXP Embedded and VB6.

Why the VB6 compatibility was broken starting from version 1.0.6???
(Sorry for bad English)

Bye!

RSATom
Big Cone-huna
Big Cone-huna
Posts: 513
Joined: 24 Nov 2011 06:55
Operating System: Windows/Linux/OsX
Location: Russia, Tomsk

Re: VB6 and VLC

Postby RSATom » 03 Jul 2012 06:22

@RSATom: Thank you very much for you ActiveX, now I can try to use VLC on device (PanelPC) with WindowsXP Embedded and VB6.
You are welcome!
Why the VB6 compatibility was broken starting from version 1.0.6???
I am not sure, but problem can be with toolchain used in official builds (My version builded by Visual Studio). Or maybe some files just was outdated (for example those which generate from .idl file).

hypnodude
New Cone
New Cone
Posts: 1
Joined: 27 Dec 2012 03:07

Re: VB6 and VLC

Postby hypnodude » 27 Dec 2012 03:32

Hi,

I have the same problems with the current build (2.0.5) as well as the nightly builds (2.0.6 and 2.1.0 from 2012/12/27) - ActiveX cannot be added to the VB6 toolkit to add to a form.
I can add a reference to the DLL, but then I cannot add it to the form.
The DLL is registered correctly.
I tried with the VB6VLCTest.zip you uploaded previously - it reports "Line 17: Class AXVLCCtl.VLCPlugin2 of control VLCPlugin2 was not a loaded control class."
The error message is "Name conflicts with existing module, project, or object library".

Is this going to be an issue with all future releases of VLC and the ActiveX?

Thanx,
Alon

dmowbray
New Cone
New Cone
Posts: 4
Joined: 10 Jan 2013 00:20
VLC version: 3.0.0
Operating System: Windows 10 v1703
Location: Ottawa, Canada
Contact:

Re: VB6 and VLC

Postby dmowbray » 12 Jan 2013 14:26

Hi
I have been following this series of posts for a bit. I have exactly the same problem as "hypnodude"... Using 2.04, 2.05 I cannot add the activex dll as a component to any vb6 project (reference can be added but that is not useful to me). Am I correct in seeing that there has been a recent build that included an axvlc.dll that did work?

Cheers
David

Robb96
New Cone
New Cone
Posts: 1
Joined: 16 Jan 2013 16:59

Re: VB6 and VLC

Postby Robb96 » 16 Jan 2013 17:38

I also have this problem (cannot add a VLC control to VB6 project) when I upgraded VLC from 1.0.3 to 2.0.5. I tried the overnight version "vlc-2.1.0-git-20130116-0004-win32.exe" with the same results. Rolling back to version 1.0.3 returned everything back to the way it was.

I also tried the following with no positive results:
Re-registered axvlc.dll
Opened a new VB6 project (Standard) and tried loading VLC
Went to a PC that NEVER had VB6:
...upgraded VLC to the 'overnight' build (2.1.0, see above)
...installed Visual Studio VB6 with SP2
...Opened a new, Standard, project
...Tried, and failed, to add VLC as a component!
Tried, in desperation, renaming project to ZLPH and standard form to ZZXYZX -- this didn't help either

The PC's involved are older CPU's (Intel x86 Family Model 4 and 6, 3GHz) with 2GB ran, running XP/Pro SP3.

The error message "Name conflicts with existing module, project or, object library" suggest the problem might be something in the DLL has the same name as a standard VB6 library part; but, I have no way of proving or disproving this.

Does anyone know of a work-around to this?


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 3 guests