If you are using 2002/3, then look at my post here:
http://www.experts-exchang
Main Topics
Browse All TopicsMy application requires the Crystal Reports Redistributable to be installed.
If it isn't my app will crash because (I assume) of the following code:
Imports Crystaldecisions.crystalre
Imports Crystaldecisions.reportsou
Imports Crystaldecisions.shared
Imports Crystaldecisions.windows.f
Is there any way to prevent this code from executing?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
If you are using 2002/3, then look at my post here:
http://www.experts-exchang
I don't really think this question was answered, since it is quite possible the user will uninstall the Crystal Reports Redistributable themselves. In that case, the code will be executed.
The solution I found was to use a "splash screen" to check if CR is installed - if not, the application would not continue and so not open the form with the Imports statements.
If anyone thinks differently, I'll gladly award the points to VBRocks.
Freerider:
To the best of my knowledge, if the program you are using has Crystal Reports in it, then the MergeModules for Crystal Reports MUST BE (capitalized for emphasis) installed before you try running the application. If they are not installed, then the program will crash before your "Splash Screen" ever appears on the screen. So, I don't think that approach will work.
I would recommend testing your idea out on a completely clean computer (one that doesn't have the merge modules installed on it). Just put the program on that computer and try running it. From my testing, the program will not even load, but will immediately product an error.
VBRocks,
I don't like to argue, but this isn't "an idea " - this approach DOES WORK (capitalized for emphasis) ;-)
Here's a screenshot from my app on a machine without CR on it:
http://www.snowdreamsoftwa
Business Accounts
Answer for Membership
by: VBRocksPosted on 2007-06-14 at 14:51:50ID: 19287530
If you are using Crystal Reports in your program, then you program will CRASH, and will not even run if you don't include the Merge Modules. To include the Merge Module, right-click on your Setup project, select Add... | Merge Module... | CrystalReportsRedist2005_x 86.msm
ects.com/c ommunityCS / FilesAndU pdates/cr_ net_2005_m ergemodule s_mlb_x86. zip.asp
If you don't have it and need to download it, go to BusinessObject's website:
http://support.businessobj