SAP Knowledge Base Article - Public

1416710 - How To: Turn off the ShowProgressAnimation dialog box in a Visual Studio 2010 Windows application

Symptom

Crystal Reports for .NET WindForm viewer has a progress indicator. The following API call does not turn off the dialog box:

Private Sub CrystalReportViewer1_Navigate(ByVal source As Object, ByVal e As CrystalDecisions.Windows.Forms.NavigateEventArgs) Handles CrystalReportViewer1.Navigate
        
 CrystalReportViewer1.ShowProgressAnimation(False)
End Sub

 

Environment

  • Visual Studio 2010 and CR for VS 2010
  • Windows Desktop application

Resolution

The ShowProgressAnimation(true) will invoke/display the ProgressAnimation dialog in the Viewer once, and ShowProgressAnimation(false) will close that ProgressAnimation dialog once if it is being invoked/displayed.

The operation’s effect is only for once per call, not for all the Viewer’s live session. This means that another following ShowProgressAnimation(true) API call will invoke/display the ProgressAnimation dialog again.

Keywords

Crystal Reports for VS 2010, Progress dialog, ShowProgressAnimation , KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , Product Enhancement

Product

SAP Crystal Reports, developer version for Microsoft Visual Studio