Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Loading CR ActiveX Control is Slow
Message
From
09/05/2000 05:34:53
Walter Meester
HoogkarspelNetherlands
 
 
To
08/05/2000 11:10:05
Antonio Gubaira
Ingenieria Y Sistemas
Valencia, Venezuela
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00367259
Message ID:
00367524
Views:
13
Antonio,

>I am using Crystal Reports 7.0 to generate VFP reports in my application. For that purpose I am using Crystal Report´s activeX control embedded in my forms. The bad news is that CR´s activeX control takes some time to load, delaying the display of the forms that use it.
>
>Does anyone have a suggestion of how to optimize the loading time ?

I don't use the ActiveX control, because the automation server provides much more control, but the folowing trick might be usable for you:

Drop the activeX control on an form (in my case: an applic form) which is invisible during runtime (put a NODEFAULT in the show event). Whenever you need a CR report, reference the activeX control on this invisible form like:
WITH Applic.CrReportControl
     .reportname =  ...
     .action = ....
ENDWITH
This way the activecontrol is loaded only once and doesn't hurt displaying performance of forms which wants to reference a report.

Walter,
Previous
Reply
Map
View

Click here to load this message in the networking platform