Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ActiveX VB.NET
I'm using a customized VLC control in vb.net, but the control needs the VLC player to be registered, on some clients computers VLC isn't installed, at the moment, my installer is installing vlc on the computer if not installed already, but I don't really want to do this, is there a way to activate the VLC control without installing VLC player, I've tried registering axvlc.dll with the regsvr32 command but it still doesn't work.
 
Thanks in advance
Posted 17-Apr-13 5:15am
Comments
ThePhantomUpvoter at 17-Apr-13 13:41pm
   
What? How would you logically expect to make use of a component without installing it? Magic?
Kieran Crown at 17-Apr-13 13:43pm
   
I was asking how to install the ActiveX component without the user having to install VLC client
Dave Kreskowiak at 17-Apr-13 13:56pm
   
That would be a question for the VLC guys. WHat you're looking for is whether the COM component is a wrapper for functionality in the player or the player is the wrapper for functionality in the COM library. Usually, the later is the case, but I have seen hacked up "controls" go the other way around, where, in your situation, the COM component won't work without the player installed.
Sergey Alexandrovich Kryukov at 17-Apr-13 15:07pm
   
No; in principle, this is possible, if it is placed in known directory (executable directory of the assembly using it), but why?
 
I used to develop an architecture based on COM interfaces and compatibility of their binary layouts, fully bypassing all Windows API support it, and it was very effective, but it was done for inter-platform and inter-language compatibility (worked on Unix without any additional framework); and we did not have CLR at that time. At the time of CLR, development of Active X components seems totally pointless to me...
 
—SA
Sergey Alexandrovich Kryukov at 17-Apr-13 15:11pm
   
It is even more pointless, because alternative non-COM solutions exist (don't forget VLC library itself is multiplatform, so it is not coupled with COM at all).
Please see my answer.
—SA

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Please see my comment to the question addressed against using Direct X and COM with .NET. You don't have to use it to use VLC. For example, please see this CodeProject article:
LiquidVideo, Play Video Anywhere with VLC C# .NET VideoLan[^].
 
[EDIT]
 
This is the updated useful information on the VLC component binding for.NET:
http://sourceforge.net/projects/libvlcnet/[^],
https://wiki.videolan.org/C_Sharp/[^],
https://wiki.videolan.org/.Net_Interface_to_VLC/[^].
 
Notably, you can find material for using the component for both WPF and System.Windows.Forms.
 
—SA
  Permalink  
v2
Comments
Kieran Crown at 17-Apr-13 16:06pm
   
I can't seem to get mp3's to stream with this project, is that possible?
Sergey Alexandrovich Kryukov at 17-Apr-13 16:12pm
   
I never try anything with this project, but I'm sure it's possible with VLC library, which is really robust and can do nearly everything.
—SA
Kieran Crown at 17-Apr-13 16:29pm
   
Okay I'll have a look
Sergey Alexandrovich Kryukov at 17-Apr-13 16:41pm
   
Please do.
Good luck, call again.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 587
1 Sergey Alexandrovich Kryukov 519
2 Maciej Los 305
3 BillWoodruff 250
4 Mathew Soji 195
0 OriginalGriff 7,356
1 Sergey Alexandrovich Kryukov 6,777
2 DamithSL 5,461
3 Manas Bhardwaj 4,916
4 Maciej Los 4,475


Advertise | Privacy | Mobile
Web03 | 2.8.1411023.1 | Last Updated 17 Sep 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100