Discussion Locked

COM/ActiveX

0 helpful
9 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
What is the difference COM and ActiveX apart from the fact that ActiveX is an implementation of COM?

9 replies

by pxttocyob

ActiveX is allows a program to take over your computer. COM is a way for that to happen.

by andrew

Originally, COM technology grew out of the OLE2 standard (OLE1 was DDE based). MS wanted a sexier name, so they came up with ActiveX.

I would say that ActiveX encompasses a group of technologies that are based on COM.

by n_k_goyal

COM is component object model, which says about components and defines thier general properties. Activex is a set of technologies which makes it happen, Another thing Activex is the name which is given by microsoft for thier own COM implementation with Visual studio. We can also compare these words like Class and object (COM and Activex).

Nitin

by bucky kaufman (mcsd)

Author - Teach Yourself ActiveX Programming in 21 Days
http://www.amazon.com/exec/obidos/ASIN/1575211637/thekaufmannetwor)
---------- ---------- ----------

First there was OLE (Object Linking and Embedding). This was Microsoft's first attempt to get one program to work well with another. It lets one program (OLE client) to call another program (OLE Server) and ask it to do something. An example was Word calling Excel to get a list of contacts for a mail-merge.

Next came COM (Component Object Model). It was used to actually automate one program from another. An example was using VB to launch Word, create and save a document, and then shut down Word. Availability of this technology was limited to programmers.

Next came ActiveX (1994/5). It actually allowed programmers to embed an entire instance of an application in another application. An example is Internet Explorer. When you view a Word.doc in IE, the menus and toolbars are changed to reflect the functionality of Word, in the browser window.

Finally, DCOM (Distributed COM). DCOM is used by programmers to issue RPC (Remote Procedure Calls) to applications on a different computer. It's use is limited to programmers.

This discussion is closed to new replies.