You must host it on a container (form, pageframe, etc).
>Hello *.*
>
>I´m using an OCX named RichTx32.OCX.
>
>I put this OCX at my form and it´s all right, but I´d like to declare the OCX at my main code (.prg) and use it like an object.
>
>Can I do it?
>
>Thanks in advance!
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer