See
How to register/unregister an OCX/ActiveX programatically FAQ #7699
>Yes,I did enable timer.
>BTW how would i register that class/dll i added in app 1 when installing App1 on different machines.
>at the moment following code working only on the machine where i've done build of App 1 as u know vfp automatically registers those things when we do a build.
>
>1) lo=createobject('app1.hictimer')
>2) lo.starttimer(100)
>one more thing createobject command taking atleast 2minutes to execute!! and 2nd line takes another 2min but copmes as an error saying "frmsession" is not an object
--sb--