I am trying to use the ActiveX plugin for VLC player in a windows forms application using c#. I can use the "Choose Items..." menu item to add the VLC plugin to the toolbox, but when trying to add it to a form I get a "Failed to import the ActiveX control. Please ensure it is properly registered." message.
I have already registered the dll using regsvr32, and I think the issue is that visual studio is unable to find a reference to the AxAXVLC dll (it imports the AXVLC dll properly).
Thanks in advance for any help.
I was having the same issue (in VS2008); it wasn't generating the AxAXVLC DLL. If you're using VLC v2.2.1 (or possibly others) then apparently this was a bug and you need v2.2.2; see this answer.
Following the advice in that answer I downloaded the latest VLC nightly and integrated it into my project. VS complained a bit but eventually it capitulated.
Btw, if you were using v1 of the ActiveX player, apparently it's not present in this version and you'll have to use v2.