Link to home
Start Free TrialLog in
Avatar of Jimbo99999
Jimbo99999Flag for United States of America

asked on

CrystalViewer and VB.net

Good Day

Experts:

I have an application that uses a CrystalViewer object to preview and/or print a report.  We are having a problem where it takes a considerably longer time to achieve this than if you were to run from inside the actual file.  To the User it appears that the applicaiton is locked up.  

What can I do to try and figure out why the method with the CrystalViewer object is slower in speed?

Thanks,
jimbo99999
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

how long does it takes?
is your report containing many sub reports?
Avatar of Jimbo99999

ASKER

Good Day

emoreau:

The time really varies. For example, I tested one earlier today and throug hthe viewer it took 40 seconds and from the report 10 seconds.  This is really an issue wit hthe User community since their screen is "hung up" whil it is thinking.  Some of the reports have sub reports and some are just from one table with many records.  

To try and get a gauge on whether it was the printing process I sent the ouput to a File.  The length of time was the same.  

Not really sure how I can debug this any further.  Any ideas?

Thanks,
jimbo99999
Avatar of Mike McCracken
Mike McCracken

It could be the time required to connect and load the database.
If you run from the designer you already have the reort loaded and are connected to the database.

Are you running from an application with Crystal dlls installed in the users machine?
or is this web-based?  If web-based it may also be the time required to load the users machine with the Crystal viewer an dlls.

mlmcc
mlmcc:

The exe is out on a Terminal server.  

jimbo99999
ASKER CERTIFIED SOLUTION
Avatar of Mike McCracken
Mike McCracken

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I made the solution partially complete since we are not certain of the speed problem as we have not quite solved it yet.  So, I could not give all the details for the responders to give a complete colution.

Thanks,
jimbo99999