Solved

CrystalViewer and VB.net

Posted on 2007-12-03
6
194 Views
Last Modified: 2011-10-03
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
0
Comment
Question by:Jimbo99999
  • 3
  • 2
6 Comments
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 20399610
how long does it takes?
is your report containing many sub reports?
0
 

Author Comment

by:Jimbo99999
ID: 20400961
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
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 20405824
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
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 

Author Comment

by:Jimbo99999
ID: 20406074
mlmcc:

The exe is out on a Terminal server.  

jimbo99999
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 20406237
Are you running from basically dumb terminals (no software loaded).  If so then you have to load all the dlls and the viewer before the report can display.  Even if this is done on the server you may see a slow down.

mlmcc
0
 

Author Closing Comment

by:Jimbo99999
ID: 31412443
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
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question