>>What about
>>
>>oForm = NEWOBJECT([frxPreviewForm],[frxPreview.vcx], "ReportPreview.APP")
>>
>
>It works, but not in run-time.
>I should copy ReportPreview.APP into the Application folder if I change that code.
>Thank you Sergey. It is not a big deal just a little annoying.
How about this:
m.cFrxPreview = [frxPreview.vcx]
oForm = NEWOBJECT([frxPreviewForm],m.cFrxPreview, "ReportPreview.APP")