cancel
Showing results for 
Search instead for 
Did you mean: 

VB6 w/ CR XI Release 2 SP4 - EnableAnimationCtrl - Does it "animate"?

Former Member
0 Kudos

Using CrystalActiveXReportViewer from CrystalActiveXReportViewerLib11_5Ctl dropped onto a form, setting the .ReportSource to a CRAXDDRT.Report object and calling .ViewReport, I lose control to the asynchronous process. Cool.

But with .EnableAnimationCtrl = True, in design and/or run-time, the Business Objects logo is only visible - it doesn't do anything. Version 9 "animated" while the report was loading. Is this a known issue with XI?

Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello, Tracy;

What is the difference you are seeing? The logos did change from Crystal Decisions to Business Objects between version 9.0 and XI R2 (11.5).

Does it preview as you expect in the designer but not from your application?

There was a known issue with Crystal Reports XI R2. I did not find this article on the external site so I am not sure you can access it.

[Click|https://bcp.wdf.sap.corp/sap/sapnotes/display/0001220187]

This issue is addressed in the following components (and later versions):

ActiveXViewer.cab, dated 3/28/2006

crviewer.dep, dated 3/28/2006

CRViewer.dll, version 11.5.4.449, dated 3/28/2006

desktop.war, dated 4/23/2006 (boXIr2win_chf.zip)

The updates can be found on our website:

Crystal Reports XI R2 SP4 [here|https://smpdl.sap-ag.de/~sapidp/012002523100006255422008E/crxir2_sp4_inc.exe]

Crystal Reports XI R2 SP3 [here|https://smpdl.sap-ag.de/~sapidp/012002523100006008442008E/crxir2_sp3.zip]

Crystal Reports XI R2 SP2 [here|https://smpdl.sap-ag.de/~sapidp/012002523100006008092008E/crxir2win_sp2.zip]

Let me know if that resolves the problem with the logo.

Elaine

Former Member
0 Kudos

I am unable to get to the first link you provided (the known issue). But as I stated, I have already installed R2 SP4, so I should have any fixes available. Can you cut and paste some of the content from this link https://bcp.wdf.sap.corp/sap/sapnotes/display/0001220187 so that I may read what the known issue is?

The difference I am seeing with the animation is this: Crystal 9 logo "rippled" while the report was running and the Crystal XI logo does not.

I noticed the logos did change from 9 to XI, and the report loads in design mode and loads just fine in runtime mode. My question is about the time WHILE the report data is being gathered and eventually loaded.

In other words, in my VB6 I call the ".ViewReport" method which causes the report to call a stored procedure which runs for several seconds. In the meantime, the user is looking at a blank report viewer (as expected) but with no indication that Crystal is doing anything (not as expected). Using Crystal 9, as I stated, the logo in the upper right of the report viewer "ripples" during this time letting the user know Crystal is still doing something. Now, with Crystal XI installed, there is no rippling of the logo. Hence the user is unsure of the status of the report load.

Is the logo still designed by Businsess Objects to "ripple"? The help for EnableAnimationCtrl states: "Determine if the animation control is visible" which is all it does now - it's either visible or not. But I would expect the control to "animate", that is "ripple". Otherwise the method is better renamed to "EnableLogoCtrl" since it appears to no longer "animate", implying movement and "rippling".

Thank you for your responses!

Tracy

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello, Tracy;

The Crystal Decisions 9.0 logo was animated. However, the Progress Bar functionality was broken with version 9.0.

crReport.PrintingStatus.Progress = crPrintingCompleted

Progress always returns crPrintingCompleted immediately on execution regardless of the actual status so the Progress Bar was no longer used.

It is a known issue and will not be fixed. (ADAPT00181466). See the Note [here|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do].

The RDC has been deprecated and is no longer shipped after Crystal Reports XI R2.

[Statement of Direction|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/80bd35e5-c71d-2b10-4593-d09907d95289]

The version 11.5 Business Objects logo is a hyperlink to the company web pages and is not animated by design.

Changing the name of a function would require a change in code and except for critical updates, there are no further changes being made to the RDC.

The Note described a change in behaviour when one of the following properties was set to False:

"When setting EnableExportButton, EnableGroupTree, EnablePrintButton to False in RDC or VB C++ code, the ActiveX viewer toolbar is disabled and the BusinessObjects logo disappears."

It sometimes happens when creating a fix for a property other issues with that property are fixed as well so I wanted to test the updates. With further information, it is not related to your issue.

It is possible to be sure all the data is present before passing the report to the viewer and making the viewer visible. Force the report to get the last pagenumber. When that is available, all of the data is ready to format the report. That may be a workaround for large reports.

Dim pageNum As Integer

pageNum = Report.PrintingStatus.NumberOfPages

CRViewer115.ReportSource = Report

CRViewer115.ViewReport

I hope that helps.

Elaine

Former Member
0 Kudos

This does not help at all but since the control is deprecated I'm stuck with how Business Objects decided to leave it. Thanks for your time.