SAP Knowledge Base Article - Public

1933324 - Crystal Reports for .NET Windows form Viewer has a HelpRequested event but no help button on the viewer

Symptom

Crystal Reports for .NET Windows form Viewer has a HelpRequested event but no help button on the viewer.

Environment

Crystal Reports for Visual Studio

Resolution

Crystal Reports for .NET no longer has an embeddable Report Designer so no CR help is required.

Add your own Help button and use the event to point to your help file.

private void crystalReportViewer1_HelpRequested(object sender, HelpEventArgs hlpevent)
{
    Help.ShowHelp(this, @"C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports 2011\Help\en\YourHelp.chm");
}

NOTE: One issue has been reported and escalated to R&D in Incident 652988

When you set your Visual Studio 2015 project to 3.5 framework or lower and search the CHM file a second time after closing and disposing of the CR objects the search never returns and the application appears to "hang"

SAP Developers have looked into the issue and it appears to be a problem:

After investigation, I found it is because of a xml loading API provided by Microsoft(msxml3.dll or msxml4.dll).

We use the API to load clientSDKOptions.xml in win32_x86 folder when opening a ClientDocument. If we call the API, the CHM viewer hangs when searching something. When I comment it, there is no such problem.

Because this API is provided by Microsoft, and it is relate to the OS. I think it is by-design. 

Workaround:

If you do not need the option in the clientSDKOptions.xml. You can rename the clientSDKOptions.xml under the following folder.

C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\clientSDKOptions.xml

See Also

FYI - issue in Kbase creation, cannot remove the first product in the list - This article does not affect CR XI R2 product.

Keywords

Crystal Reports for .NET, Help event, HelpRequested , KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , Problem

Product

SAP Crystal Reports XI R2 ; SAP Crystal Reports, developer version for Microsoft Visual Studio