Ron,
See
BUG: License Error with ActiveX Control Added at Run-Time mskb #
192693.
>I have written a routine that needs to use the RichTextControl. On my development machine (XP) the following works:
>
>TRY
> test = NEWOBJECT("RichText.RichextCtrl.1")
>CATCH
> messagebox("failed to create: RichText.RichextCtrl.1")
>ENDTRY
>
>
>However, if I do this on the runtime machine (W2K) I get the messagebox indicating that it did not work.
>
>I copied the riched20.dll, riched32.dll, richtx32.dep, richtx32.ocx from my development machine to the runtime machine, registered the ocx but still I can't get it to work.
--sb--