ActiveX explained

ActiveX
Developer:Microsoft
Author:Microsoft
Discontinued:Yes
Latest Release Version:2013
Programming Language:C, C++
Operating System:Microsoft Windows, Solaris, Classic Mac OS, macOS
Platform:x86
Included With:Internet Explorer, Microsoft Office, Microsoft Visual Studio, and Windows Media Player etc.
Replaces:OLE 2.0 and COM
Genre:Software framework

ActiveX is a deprecated software framework created by Microsoft that adapts its earlier Component Object Model (COM) and Object Linking and Embedding (OLE) technologies for content downloaded from a network, particularly from the World Wide Web.[1] Microsoft introduced ActiveX in 1996. In principle, ActiveX is not dependent on Microsoft Windows operating systems, but in practice, most ActiveX controls only run on Windows. Most also require the client to be running on an x86-based computer because ActiveX controls contain compiled code.[2]

ActiveX is still supported in the "Internet Explorer mode" of Microsoft Edge (which has a different, incompatible extension system, as it is based on Google's Chromium project).[3]

ActiveX controls

ActiveX was one of the major technologies used in component-based software engineering.[4] Compared with JavaBeans, ActiveX supports more programming languages, but JavaBeans supports more platforms.[5] ActiveX is supported in many rapid application development technologies, such as Active Template Library, Delphi, JavaBeans, Microsoft Foundation Class Library, Qt, Visual Basic, Windows Forms and wxWidgets, to enable application developers to embed ActiveX controls into their products.

Many Microsoft Windows applications—including many of those from Microsoft itself, such as Internet Explorer, Microsoft Office, Microsoft Visual Studio, and Windows Media Player—use ActiveX controls to build their feature-set and also encapsulate their own functionality as ActiveX controls which can then be embedded into other applications. Internet Explorer also allows the embedding of ActiveX controls in web pages.

History

Faced with the complexity of OLE 2.0 and with poor support for COM in MFC, Microsoft simplified the specification and rebranded the technology as ActiveX in 1996.[6] [7] Even after simplification, users still required controls to implement about six core interfaces. In response to this complexity, Microsoft produced wizards, ATL base classes, macros and C++ language extensions to make it simpler to write controls.

Starting with Internet Explorer 3.0 (1996), Microsoft added support to host ActiveX controls within HTML content. If the browser encountered a page specifying an ActiveX control via an OBJECT tag (the OBJECT tag was added to the HTML 3.2 specification by Charlie Kindel, the Microsoft representative to the W3C at the time[8]) it would automatically download and install the control with little or no user intervention. This made the web "richer" but provoked objections (since such controls, in practice, ran only on Windows, and separate controls were required for each supported platform: one for Windows 3.1/Windows NT 3.51, one for Windows NT/95, and one for Macintosh M68K/PowerPC.) and security risks (especially given the lack of user intervention). Microsoft subsequently introduced security measures to make browsing including ActiveX safer.[9]

For example:

ActiveX was controversial from the start; while Microsoft claimed programming ease and good performance compared to Java applets in its marketing materials, critics of ActiveX were quick to point out security issues and lack of portability, making it impractical for use outside protected intranets.[10] The ActiveX security model relied almost entirely on identifying trusted component developers using a code signing technology called Authenticode. Developers had to register with Verisign (US$20 per year for individuals, $400 for corporations) and sign a contract, promising not to develop malware. Identified code would then run inside the web browser with full permissions, meaning that any bug in the code was a potential security issue; this contrasts with the sandboxing already used in Java at the time.[11]

Platform support

In October 1996, Microsoft released a beta version of the ActiveX Software Development Kit (SDK) for the Macintosh, including a plug-in for Netscape Navigator on the Mac, and announced its plan to support ActiveX on Solaris later that year.[12] Six months and two more beta releases later, there had yet to be any commercially available Macintosh ActiveX plugins.[13]

In 1997, NCompass Labs in cooperation with Microsoft released a plug-in for Netscape Navigator to support ActiveX.[14]

Documentation for ActiveX core technology resides at The Open Group and may be read for free.[15]

Despite Microsoft's previous efforts to make ActiveX cross-platform, most ActiveX controls would not and will not work on all platforms, so using ActiveX controls to implement essential functionality of a web page restricts its usefulness. The government of South Korea, in a software-agnostic gravitating move, started in circa 2015 to remove the technology from their public websites in order to make their web site accessible to more platforms.[16]

While Microsoft made significant efforts to push the cross-platform aspect of ActiveX by way of publishing the API, ultimately the cross-platform effort failed due to the ActiveX controls being written in C or C++ and being compiled in Intel x86 Assembly language, making them executable only on Windows machines where they can call the standard Win32 APIs.[17]

Microsoft dropped ActiveX support from the Windows Store edition of Internet Explorer 10 in Windows 8. In 2015, Microsoft released Microsoft Edge, the replacement for Internet Explorer, with no support for ActiveX; this event marked the end of ActiveX technology in Microsoft's web browser development.[18] Microsoft Edge ships with the "Internet Explorer mode" feature, which supports ActiveX.

ActiveX in non-Internet Explorer applications

Other ActiveX technologies

Microsoft has developed a large number of products and software platforms using ActiveX objects. They are still used (e.g., websites still using ASP):

External links

Notes and References

  1. Web site: ActiveX Controls on the Internet. Microsoft Docs. 12 September 2018. 2021-08-19.
  2. Book: Anderson, Jerry. Activex Programming with Visual C++. 1997. Que. 978-0-7897-1030-7.
  3. Web site: Microsoft Edge - Frequently Asked Questions (FAQ) for IT Pros - Edge.
  4. Cai, Xia, et al. "Component-based software engineering: technologies, development frameworks, and quality assurance schemes." Software Engineering Conference, 2000. APSEC 2000. Proceedings. Seventh Asia-Pacific. IEEE, 2000.
  5. Web site: Hughes. Merlin. JavaBeans and ActiveX go head to head. JavaWorld. IDG. 1 March 1997. live. https://web.archive.org/web/20160315144821/http://www.javaworld.com/article/2077620/client-side-java/javabeans-and-activex-go-head-to-head.html. 15 March 2016. dmy-all.
  6. Web site: Using ActiveX with LabVIEW – Examining Mission Editor Version 1.0 . 12 March 2009 . 13 August 2007 . NI Developer Zone . National Instruments . The term ActiveX surfaced in the Microsoft world in early 1996. . dead . https://web.archive.org/web/20080228174217/http://zone.ni.com/devzone/cda/tut/p/id/4496 . 28 February 2008 .
  7. Web site: Microsoft announces ActiveX Technologies. 11 February 2017. 12 March 1996. News Center. Microsoft. Microsoft Corp. today announced ActiveX … Technologies, which make it easy for the broadest range of software developers and Web designers to build dynamic content for the Internet and the PC. … ActiveX Technologies form a robust framework for creating interactive content using software components, scripts and existing applications. Specifically, ActiveX Technologies enable developers to build Web content easily using ActiveX Controls (formerly OLE Controls), active scripts and active documents. … ActiveX Technologies are available in the form of the Microsoft ActiveX Development Kit, which is being distributed to more than 4,000 developers attending the Professional Developers Conference in San Francisco today.. live. https://web.archive.org/web/20170212101109/https://news.microsoft.com/1996/03/12/microsoft-announces-activex-technologies/. 12 February 2017. dmy-all.
  8. Web site: Chapter 2. www.w3.org. 2019-08-29.
  9. Web site: Activating ActiveX Controls . 18 April 2006 . 16 June 2009 . live . http://archive.wikiwix.com/cache/20060419000000/http://capitalhead.com/articles/activating-activex-controls.aspx . 19 April 2006 . dmy-all .
  10. News: ActiveX technology: You can't go there today . . 90 ff . 1997.
  11. News: Exposing the ActiveX security model . Sean . Dugan . . 19 May 1997 . 98 .
  12. News: MacOS will get access to ActiveX . Tom . Quinlan . . 28 October 1996 . 48 .
  13. After 6 months, ActiveX passive in Mac market . 11 April 1997 . 11 . 15 . MacWEEK. Joanna . Pearlstein . dead . https://web.archive.org/web/19970412151433/http://www.macweek.com/mw_1115/nw_activex.html . 12 April 1997 . dmy-all.
  14. Book: Computerworld. ncompass activex plugin.. 1997-04-07. IDG Enterprise. en. Playing with plug-ins.
  15. Web site: Documentation for ActiveX Core Technology. The Open Group. 1 May 2020. live. https://web.archive.org/web/20200430223442/https://pubs.opengroup.org/onlinepubs/9875999899/toc.htm. 30 April 2020. dmy-all.
  16. Web site: Seoul poised to remove ActiveX software from public websites. 3 March 2015. Yohap News Agency. live. https://web.archive.org/web/20150322231129/http://english.yonhapnews.co.kr/news/2015/03/03/0200000000AEN20150303003300315.html. 22 March 2015. dmy-all.
  17. Will ActiveX Threaten National Security?. WIRED. 2018-10-15. en-US.
  18. Web site: Microsoft nixes ActiveX add-on technology in new Edge browser. Gregg. Keizer. 10 May 2015. Computerworld. IDG. live. https://web.archive.org/web/20150514023235/http://www.computerworld.com/article/2920892/web-browsers/microsoft-nixes-activex-add-on-technology-in-new-edge-browser.html. 14 May 2015. dmy-all.
  19. Web site: Mozilla Control. 29 April 2011. https://web.archive.org/web/20110429033120/http://www.adamlock.com/mozilla/. 29 April 2011.
  20. Web site: How To Enable ActiveX on Chrome . 2022-08-07 . Alphr . en-US.