Comments are available to members only. Sign up or Log in to view these comments.
Main Topics
Browse All TopicsWe have an application that we migrated from Visual Basic 6.0 to Visual Studio.Net 2008 Professional using the migration wizard. The app contains 540 forms. We used Component One's True DBGrid 8.0 in the VB6 app, but the migration tool did not migrate those grids. The migration wizard replaced them all with empty, unformatted, unbound VB.Net data grids. So we had to delete the unformatted data grids and rebuild 98 True DB grids in the app. The app uses SQL Server 2005 for stored databases and a mixture of SQL Server and MS Access tables as the underlying table for grids and as the input tables for Crystal Reports.
The problem we are having at the moment is as follows: If we open the app and go to an application function that uses the Crystal Report Viewer - like a simple 20-line table listing - the report is generated in a reasonable period of time considering that it is the first time the report (or any report) was generated in this session. If we press the printer icon to print the report, printer selection is very slow to pop up and the printing of the one page report is also very slow. If we then go back and request the same report again, the report takes longer to generate and printing (if it works) is even slower than it was on the first request. Screen painting of the menu screen is normally very fast, but is now very slow and fragmented. If we try a third time, we never even get to request the report. the app hangs as soon as we click on the menu icon to open the screen.
The same thing happens if we try to switch from one Crystal Report request to another while in the same session. We end up having to reboot the PC to get it back up and running. There is no way to cancel the task (task manager is non-responsive).
The CPU utilization is always at 100% as soon as the app is started and remains at 100% throughout the session.
We also tried the same app under VS.Net 2005 - similar results.
We are now using Crystal Reports 2008. We have had the exact same problem with CR 10, XI, and X1 R2.
We are running VS.Net 2008 Professional with the SP1 Beta installed and MS.Net Framework 3.5 with SP1 Beta installed as well.
The reports are generated and printed quickly and correctly directly from CR 2008 - the problems only occur when generated from the VB app.
The app works perfectly under VB6/SQL Server 2000 and CR 10.
Any thoughts or suggestions on how to make the Crystal Viewer work properly and repeatedly?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: TheLearnedOnePosted on 2008-06-20 at 04:41:33ID: 21830087
Comments are available to members only. Sign up or Log in to view these comments.