Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

How to programmatically differentiate which version of Crystal is used

Avatar of WilbertWaterbury
WilbertWaterburyFlag for United States of America asked on
Crystal Reports
2 Comments1 Solution265 ViewsLast Modified:
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.
Set App = CreateObject("CrystalRuntime.Application.10")
Set Rept = App.OpenReport(RptFile)