Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Compile error
Message
 
To
04/03/2008 07:16:05
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Vista
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01298374
Message ID:
01298378
Views:
20
>>In my print manager I have this:
>>
>>oForm = NEWOBJECT([frxPreviewForm],[frxPreview.vcx],_REPORTPREVIEW)
>>LOCAL loRef as ReportListener
>>DO (_REPORTOUTPUT) WITH 1, loRef
>>oForm.WindowState      = 2
>>loRef.PreviewContainer = oForm
>>
>>
>>But every time I compile the application I get this error:
>>
>>Form printask.scx has the following errors:
>> Visual Class Library FRXPREVIEW - Undefined
>>
>>How can I get rid of this message. There is no such command like EXTERNAL CLASSLIB.
>
>Is the classlib in the path (SET PATH)?

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().
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform