Symptom
- A requirement states that a report version information must be displayed in the report.
Resolution
- The solution requires the use of the InProc RAS API.
- C# code to retrieve the report version information:
CrystalDecisions.CrystalReports.Engine.ReportDocument rpt = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
ISCDReportClientDocument rptClientDoc;rptClientDoc = new ReportClientDocumentClass();
MessageBox.Show("Report Version: " + (rptClientDoc.MajorVersion.ToString() + "." + rptClientDoc.MinorVersion.ToString()), "App", MessageBoxButtons.OK, MessageBoxIcon.Information);
- For more information on InProc RAS APIs see the article How to use the RAS SDK .NET with In-process RAS Server
Keywords
KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , How To
Product
Crystal Reports 2008 V1