what is the use of COM in visual studio?

Posted by Prabu_Spark under ASP.NET on 6/28/2013 | Points: 10 | Views : 826 | Status : [Member] | Replies : 1
Hi sir,
Tell me the use of COM in visual studio. What is the use of clsid, in the below code. Kindly give me the solution for this problem.


<object id="mediaplayer" classid="clsid:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#version=5,1,52,701" standby="loading microsoft windows media player components..." type="application/x-oleobject" width="320" height="310">
<param name="filename" value='<%=str %>'/>
<param name="animationatstart" value="true"/>
<param name="transparentatstart" value="true"/>
<param name="autostart" value="true"/>
<param name="showcontrols" value="true"/>
<param name="ShowStatusBar" value="true"/>
<param name="windowlessvideo" value="true"/>
<embed src='<%=str %>' autostart="true" showcontrols="true" showstatusbar="1" bgcolor="white" width="320" height="310"/>
</object>

With regards,
J.Prabu.
[Email:prbspark@gmail.com]



Responses

Posted by: Satyapriyanayak on: 6/29/2013 [Member] [MVP] Silver | Points: 25

Up
0
Down
COM (Component Object Model) technology in the Microsoft Windows-family of Operating Systems enables software components to communicate. COM is used by developers to create re-usable software components, link components together to build applications, and take advantage of Windows services. COM objects can be created with a variety of programming languages. Object-oriented languages, such as C++, provide programming mechanisms that simplify the implementation of COM objects. The family of COM technologies includes COM+, Distributed COM (DCOM) and ActiveX® Controls.

http://www.microsoft.com/com/default.mspx
http://www.c-sharpcorner.com/uploadfile/nipuntomar/describing-com-component-object-model/
http://www.codeproject.com/Articles/38285/Using-COM-aware-DotNet-Library-in-MFC-Application

If this post helps you mark it as answer
Thanks

Prabu_Spark, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response