Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > Database and Reporting > Crystal 9 report viewer progress bar


Reply
 
Thread Tools Display Modes
  #1  
Old 02-18-2005, 03:31 AM
akamikeym akamikeym is offline
Freshman
 
Join Date: Nov 2004
Posts: 37
Default Crystal 9 report viewer progress bar


Hi

I am confused about the crystal reports veiwer. When it is loading, which can take some time, I would like the user to be informed of the progress but this does not seme to happen. I have set the CRV.EnableProgressControl = True and it shows a progress bar at the top of the viewer but it sits there motionless.

I have had a search on the forum for any information on this but all I could find was something saying it was not possible to show a progress bar. Could this realy be the case?

If you can't show a progress bar is it possible to show something moving to keap the user entertained like:

Code:
CRV.ViewReport CRV.EnableProgressControl = True CRV.ReportSource = crxReport CRV.ViewReport CRV.Refresh CRV.Visible = True fraProgress.Visible = True Me.Show , frmParent frmParent.SetFocus Incrament = 1& Do While .CRV.IsBusy = True DoEvents Debug.Print "Loading " PB.Value = PB.Value + Incrament If PB.Value = PB.Max or PB.Value = PB.Min Then 'Show a Kit effect Incrament = Incrament * -1& End IF PB.Refresh Loop fraProgress.Visible = False

But when I try this I get one debug print despite the load taking up to a minute!

Any help would be appeciated.
Reply With Quote
  #2  
Old 02-18-2005, 09:01 AM
dabqc dabqc is offline
Newcomer
 
Join Date: Nov 2004
Location: Québec city
Posts: 3
Default CRVwr9_DownloadStrated

Hi,

I didn't tested it but maybe you can try putting your incremental code in the CRVwr9_DownloadStarted event. You probably have to build your own progress window or else.

Have a nice day.

Dan
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->