Hi Kavin,
It's not clear what the problem is. Under what circumstances your code doesn't work and what error do you get?
>This code works fine in development, or in a DLL if the
>classlib "cr_actx.vcx" is in the folder I'm running it
>from.
>
>I had this working, then went and messed it up. Anyone?
>
>
>LPARAMETERS oContainer, cName
>sClassLib = ADDBS(SYS(5) + SYS(2003)) + "cr_actx.vcx"
>oContainer.NewObject(cName, "crControl", sClassLib)
>
--sb--