First, read the section Programming with ActiveX controls in the CVI help. The few minutes you spend doing that will be well worth it.
Then, use the ActiveX controller wizard (Tools|Create ActiveX controller...) to create a function panel for the control. This fp will contain all the functions you need (methods, property put/get functions, and event callback registration functions) to allow you to program the control.