What Are ActiveX Controls?

ActiveX controls are a few years old already and are the third version of OLE Controls, from which the .OCX extension comes. When ActiveX controls are compiled, they still receive an .OCX extension.

ActiveX controls, you will notice, are very similar to the ActiveX DLLs that you learned about earlier in this book. But there are a couple of primary differences between the two when it comes to the Windows DNA platform:

  • ActiveX controls typically contain a visual interface with which the user interacts.

  • ActiveX controls run on the client, whereas you typically would use ActiveX DLLs on a Web server. You could have DLLs installed and run on the client as well, but that is not typically how they are implemented in a ...

Get Sams Teach Yourself Microsoft® Windows® DNA Programming in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.