473,471 Members | 4,616 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Crystal Report Viewer very slow (about 1 minute)

Hi, I'm using VB .NET 2003. I have a form which only has a
CrystalReportViewer to view a report on screen. But every time I run then
project, the form is shown but the Report itself is very slow to show up
(about 1 minute). Is there any setting I can use to make it show faster? My
testing only got 2 records, but it will always take about one minute.

I find that it slow when it reaches the reportdocument.Load( ) section.
Please help. The following is my code.

Dim sXmlFile As String
Dim rptData As New ReportDocument
Dim rDs As DataSet

sXmlFile = Application.StartupPath & "\Data\Data.xml"

rDs = New DataSet
rDs.ReadXml(sXmlFile)

rptData.Load(Application.StartupPath & "\Report\Data.rpt")
rptData.SetDataSource(rDs.Tables("Data"))

DataCrv.ReportSource = rptData
DataCrv.Zoom(1)
Thanks in advance.
Jul 22 '05 #1
1 16418
Hi,

If your report contains sub-report, pls try to uncheck the checkbox
"Re-import When Opening" in the "Subreport" tab page of Format Editor of the
subreport.

It works for my case.

Gary
Sep 26 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Robert Schuldenfrei | last post by:
Hi Again, Forgive me for posting this again, but old items seem to get little review. I thought I could adjust the viewer properties without any further aid from the NG, but I was wrong. When...
0
by: Dipendra | last post by:
Have Windows App which makes call to Crystal Reports which is being published as web services. It works but really slow. stored procedures are used to get data from database. The windows app has...
19
by: LP | last post by:
I am using (trying to) CR version XI, cascading parameters feature works it asks user to enter params. But if page is resubmitted. It prompts for params again. I did set...
17
by: Peter Proost | last post by:
Hi Group, I've got an interesting problem, I don't know if this is the right group but I think so because everything I've read about it so far says it's a .net problem. Here's the problem, we're...
1
by: sleepyant | last post by:
Hi, I'm using VB .NET 2003. I have a form which only has a CrystalReportViewer to view a report on screen. But every time I run then project, the form is shown but the Report itself is very slow to...
0
by: Chris | last post by:
I have the following situation in a VB.Net App I am working on: 1.)A report created in VS.Net 2003 using the CR.Net component of VS 2003. 2.)The datasource for the report is a Stored Proc in a...
5
by: Jay | last post by:
I am getting mixed messages from the asp.net website hosting providers - some say they do not support Crystal Reports due to a $25,000 per cpu licensing fee, others say all I need to do is install...
6
by: raaman rai | last post by:
guys, i just wanna ask that can we run crystal report 10 in our visual basic application without using Crystal ActiveX Viewer. Infact before i had used the crystal32.ocx component for CR8 n it had...
1
by: CAM | last post by:
Hello, I am using Vista Basic.Net 2008 and I wondering what is the best way to display crystal reports in a form. I have about 10 different crystal reports what I am currently doing is using a...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.