Solved

CrystalViewer and VB.net

Posted on 2007-12-03
6
191 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 69

Expert Comment

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

Author Comment

by:Jimbo99999
Comment Utility
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
Comment Utility
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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

Author Comment

by:Jimbo99999
Comment Utility
mlmcc:

The exe is out on a Terminal server.  

jimbo99999
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
Comment Utility
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
Comment Utility
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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now