>>Did you try to include ReportPreview.APP in the project?
>>
>>>No, that classlib is stored in _REPORTPREVIEW application (ReportPreview.APP in C:\PROGRAM FILES\MICROSOFT VISUAL FOXPRO 9\ during the compilation) and I have no SET CLASSLIB to it. That is why I used NEWOBJECT() instead of CREATEOBJECT().
>
>Not, but I tried it now and no luck :-(
What about
oForm = NEWOBJECT([frxPreviewForm],[frxPreview.vcx], "ReportPreview.APP")
--sb--