Click here to Skip to main content
15,892,161 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I use windows 8.1 , with VS2010 Express.
I have VLC installed and trying to use VLC ActiveX, I have done the following:
1- In toolbox: I selected choose item then navigated to VideoLan Plugin and selected it.
2- In project menu I selected Add reference and navigated to VideoLan Activex Plugin and added it as reference.
3- Whenever I drag VLC from tool box to add to my form I get "Failed to import AciveX control. please ensure it is properly registered".
4- I started cmd as administrator and used Regsvr32 to unregister the Dll , then register it again.

The problem is exists , I still get the same error no matter what I do ,Can anyone help with this please ?
Posted

Your VLC control probably has a dependency on another .DLL that your machine doesn't have.

Ask the people you got the control from what it depends on.
 
Share this answer
 
Comments
Ahmed E Osama 9-Jul-15 18:53pm    
it is the original ActiveX of VLC , it is distributed with VLC setup, Any Idea what could be missing , I have read every thing there is about it , nothing seems to point to anything other than what I mentioned.
Sergey Alexandrovich Kryukov 9-Jul-15 18:56pm    
Missing from where?! You did not provide any relevant information on your solution and the problem. You don't have to use ActiveX, anyway.
See also Solution 2.
—SA
Dave Kreskowiak 9-Jul-15 19:01pm    
You say that like VLC is some control everyone uses every day. That's not the case.

I don't know what it depends on. That's why I told you go ask the people you got it from!
Ahmed E Osama 9-Jul-15 20:47pm    
I found that VLC version 2.2.1 have a bug , and it is fixed in nightly build version 2.2.2 , and this fixes the problem which is a missing .DLL as you mentioned . thanks a lot for your guidance
Member 11906663 20-Apr-16 8:14am    
HOW TO REMOVE VLC ICON IN VLC DLL?
You did not explain who exactly did you use VCL in C#, but there are different wrappers for .NET:
http://sourceforge.net/projects/libvlcnet[^],
https://wiki.videolan.org/C_Sharp[^],
https://github.com/ZeBobo5/Vlc.DotNet[^].

See also my past answers:
Preview selected file in Windows Explorer using C#[^],
Streaming music files in vb.net without WMP[^].

—SA
 
Share this answer
 
Comments
Member 11906663 20-Apr-16 8:14am    
HOW TO REMOVE VLC ICON IN VLC DLL?
Sergey Alexandrovich Kryukov 20-Apr-16 10:15am    
Do you want to misrepresent attribution of the software product?
—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