Crystal Reports Viewer Slow on First Load but Fast After
Posted on 2009-07-05
I find the Crystal Reports Viewer (winforms) very slow to load the first time it is called. After that it is much faster.
I have tried to open a form with the viewer invisibly, but can't get this to work in CSHARP. If I do this visibly when then Main Menu loads, it solves the problem, i.e., the "first" time a report is run the viewer comes up instantly.
Have also tried creating an instance of a form with a viewer, NOT showing the form, but only calling a refresh on the viewer. I don't see much timing difference with this approach.
I noticed another posting on this topic that suggests opening a Crystal report in another thread, but I could not get this code to work in CSHARP.