Hi all,
I am aware of the many posts about slow initial loading, but I checked them and didn't find an answer.
My problem:
I use a CrystalReportViewer control in my WPF application. The initial load of the dll's take too long.
On my machine, I can see this difference: Initial creation of CRViewer: 1,5seconds / reopening the CRViewer: 0,2seconds.
The difference isn't that big. But it is on a tabletPc (where the app should run on). (This is due to the smaller processors of those machines. The difference is now: Initial: 6sec / reopen: 1sec.
I can live with the 1 second loading time, but the 6 seconds initial loading is just too much!!
The solution:
The solution should be to preload the dll's or call some method on the CrystalReportViewer so that it already loads its dll's. My question is: How do I do that? (could you give me some code examples?)
Kind regards,
Wim