Daniel Burleson
asked on
How to programmatically differentiate which version of Crystal is used
How does one control which version of Crystal gets invoked when versions 8.5 and 10.0 are both installed on the same computer (Windows XP SP3). Using the following code, version 8.5 is always invoked although there is the suffix ".10".
Since I am opening a version 10 file, I get the message "Invalid TLV record". If I open a version 8.5 file it works. I do not want to uninstall 8.5, but rather control which version is used.
Since I am opening a version 10 file, I get the message "Invalid TLV record". If I open a version 8.5 file it works. I do not want to uninstall 8.5, but rather control which version is used.
Set App = CreateObject("CrystalRuntime.Application.10")
Set Rept = App.OpenReport(RptFile)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I've always understood that IF you open a LOWER VERSION of a report in a NEWER Version...it will be transformed into the NEW version....which is not always good....
Also, it sounds like you are using Visual Studio to invoke your reports...right? I'd check to see if there is a patch or an update that will allow you to choose the version 10.