Created
September 1, 2015 20:19
-
-
Save feliperomero3/1950bdfb2315a2908b81 to your computer and use it in GitHub Desktop.
How to read Crystal Report file Design version programmatically
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Don Williams | |
Correct Answer | |
by Don Williams on Mar 14, 2011 3:16 PM | |
Hello, | |
You can't read the info from the file itself, proprietary format, | |
you have to load the report: | |
rpt.Load(rptName.ToString()); | |
rptClientDoc = rpt.ReportClientDocument; | |
MessageBox.Show("Report version: " + rptClientDoc.MajorVersion.ToString() + "." + | |
rptClientDoc.MinorVersion.ToString(), "RAS", MessageBoxButtons.OK,MessageBoxIcon.Information); | |
rpt.ReportClientDocument.Close(); | |
GC.Collect(); | |
Thank you | |
Don |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment