>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.
Last try :)
IF .F.
oForm = NEWOBJECT([frxPreviewForm],[frxPreview.vcx], "ReportPreview.APP")
ENDIF
oForm = NEWOBJECT([frxPreviewForm],[frxPreview.vcx],_REPORTPREVIEW)
--sb--