Click here to Skip to main content
15,501,036 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
I'm using a customized VLC control in, 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
[no name] 17-Apr-13 13:41pm    
What? How would you logically expect to make use of a component without installing it? Magic?
Kieran Crown 17-Apr-13 13:43pm    
I was asking how to install the ActiveX component without the user having to install VLC client
Dave Kreskowiak 17-Apr-13 13:56pm     CRLF
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 17-Apr-13 15:07pm     CRLF
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 17-Apr-13 15:11pm     CRLF
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

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[^].


This is the updated useful information on the VLC component binding for.NET:[^],[^],[^].

Notably, you can find material for using the component for both WPF and System.Windows.Forms.

Share this answer
Kieran Crown 17-Apr-13 16:06pm    
I can't seem to get mp3's to stream with this project, is that possible?
Sergey Alexandrovich Kryukov 17-Apr-13 16:12pm     CRLF
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 17-Apr-13 16:29pm    
Okay I'll have a look
Sergey Alexandrovich Kryukov 17-Apr-13 16:41pm     CRLF
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)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900