Installing ActiveX Controls
Chapter 15 , Chapter 17 , Chapter 24, and Chapter 25 for information about how the Windows Registry works.) Licensed controls usually come with setup programs that take care of those details.After you register your ActiveX control, you must install it in each project that uses it. That doesn't mean that the OCX file gets copied. It means that Visual Studio .NET generates a C++ wrapper class for the specific control, and that the control shows up in the dialog editor control palette for that project.To install an ActiveX control in a project, choose Add Class from the Project menu and then choose MFC Class From ActiveX Control, as shown here:
Select an ActiveX control in the Add Class From ActiveX Control Wizard. This gets you the list of all the ActiveX controls currently registered on your system. A typical list is shown here: