views:

38

answers:

2

"ActiveX controls — small program building blocks — can serve to create distributed applications that work over the Internet through web browsers. Examples include customized applications for gathering data, viewing certain kinds of files, and displaying animation." (wikipedia)

is an Object an instance of a Control?

+1  A: 

Nothing in my years of ActiveX development have lead to me believe there is a difference. It's just two ways of saying the same thing.

However, your suggestion of an ActiveX object being an instance of an ActiveX control makes sense. But it strikes me as a level of semantic arguing that does nothing to improve development or communication between developers.

Corin
+1  A: 

The MS terminology is unclear, especially since ActiveX is more a marketing term than a technical one. Often, "ActiveX" can be replaced with "COM" to give a more technically comprehensible meaning.

All code in ActiveX/COM ultimately is an object that exposes one or more interfaces. So, ActiveX/COM controls are objects, along with other pluggable COM types, such as Explorer Extensions, Browser Helper Objects etc.

For an object to be considered an ActiveX control, it must implement the set of interfaces needed for the control to be embedded in a container. IViewObject, IOleControl, IOleControlSite etc..

mdma
.......sup bro?
Dustin Getz