How to Create an ActiveX Control ?

Is someone could give me some tips to create a full feature ActiveX

As a starting point, I have used "The OLE automation server example" from
the user's Guide.

But the Insert ActiveX Control... Menu of the ActiveX Control Pad do not
see my server.
And If I insert the Object Tag my self, the ActiveX Control Pad Script
Wizard do not see my propreties and methods?