SAP Knowledge Base Article - Public

2281750 - How to disable copy (CTRL+C) in the Crystal Reports Windows Viewer when using the SDK for Visual Studio .NET

Symptom

  • Users are able to copy data displayed in the Windows Viewer (SDK for Visual Studio .NET).
  • How to disable users from copying the data using CTRL+C.

Environment

  • SAP Crystal Reports, Developer Version for Visual Studio .NET
  • Miscrosoft Visual Studio .NET 2010 and later.

Resolution

  • Use the following code:
CrystalReportViewer.SelectionMode = CrystalDecisions.Windows.Forms.SelectionMode.None;

Keywords

CRVS CR4VS remove permission form application , KBA , BI-DEV-NET-SDK , .NET SDK / COM SDK , Problem

Product

SAP Crystal Reports, developer version for Microsoft Visual Studio