Unfortunately generating Visual Basic OCX objects can occasionally
run into slight problems. If you get into a situation where you
are having difficulty registering an OCX, then you may need to follow
this simple procedure:
Record the name of the Engine control you are replacing.
Delete it from your form.
Click Project >Components. The Components window appears.
Components Window
Uncheck all the generated components from Chameleon.
Click the Browse... button, and search for the generated OCX file that you want to use.
Close the window.
Select the custom component of the component palette.
Component Palette
Drop the control on to your form.
Rename the control to have the same name as the previous control.
The new control picks up all the same event code as the previous control, so
very little needs to be changed.