How can i add mplayer plugin to my toolbox so that i can use it in my windows application with c# ?

I need to add MPlayer to my windows application before i was using VLC it worked for me, i just right clicked on the toolbox selected choose item again selected VideoLAN from Com components and VLC was in dere, but now i can't even see VLC player also.
Rajan_Gupta_DeveloperAsked:
Who is Participating?
 
Daniel Van Der WerkenConnect With a Mentor Independent ConsultantCommented:
Sorry.  I don't think MPlayer is an ActiveX control.  I just tried this myself yesterday.

You might be able to create your own control using Platform Invoke.  that would be a task though.  Honestly, I'm not sure if I would know how to do that right off.  Basically, you'd use P/Invoke to run functions available via the MPlayer DLL's and such.
0
 
Daniel Van Der WerkenIndependent ConsultantCommented:
Assuming the MPlayer binary is an ActiveX control, you simply right-click in the Toolbox, select Choose Toolbox Items, and then dialog pops up, you click on COM Components.  If the MPlayer control is not listed, then select the Browse button and find the MPlayer DLL, add it.

Make sure to select this now in the list.  It should now show up as a control in the toolbox.
0
 
Rajan_Gupta_DeveloperAuthor Commented:
Their are many dll files inside MPLayer folder which one should i choose thats also a problem ?
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
Daniel Van Der WerkenIndependent ConsultantCommented:
Yeah.  I don't have a good answer to that question.  I usually add them all and keep the ones that succeed.  

You could check to see which ones are COM dll's by running regsvr32 against each one and then noting the ones that succeed.  

Maybe you can view them with dumpbin.exe.  I don't know.  I just grab them one at a time and try them.
0
 
Rajan_Gupta_DeveloperAuthor Commented:
I tried all of them but none of them seems to be a active X dll and their is no ocx control i wonder if Mplayer does have that ability or not ? DO you have any idea about this ?
0
 
Rajan_Gupta_DeveloperAuthor Commented:
Okhey thanks buddy, i will figure out something thanks for all your help ...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.