OCX is a user control. we can create a control of our own and use it in our projects. OCX can be created using ActiveX Controls.For example if we have a Text Box for getting Numbers only in every form and in every project we can create a Text Box for getting numbers only in ActiveX Control and use it as we do to other Text Box.
Ocx controls are controls used in VB to create resusable controls such as text boxes labels. V can predefine the woriking of these controls with validation such as Text bx control to recv only with 3 decimal like wise. Activex contrl are saved with extension .ocx.