Interacting with ActiveX Controls

ActiveX controls enable you to place a lot of functionality in an interface that can be reused over and over again. One good example of an ActiveX control that could be used on the Web is a tree view control. This would enable you to display hierarchical data on a Web page without having to create the control from scratch with DHTML.

As you learned in Day 16, you can create an Internet package and deploy your controls to the Internet using the Package and Deployment Wizard. When you create a package, the wizard produces a .CAB file and an .HTM file. Looking inside the HTML file, you will see the code that creates the ActiveX control on the screen. Listing 17.8 is an example of an ActiveX control on a page. ...

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.