Automation Error Running Crystal Report
I am writing a VB6 project and using Cystal Report 8 as my reporting tool. Recently I copied the project folder to another PC and when we tested the reports there it gives Automation error - Specified module was not found.
I copied the folder back to my PC which was able to run reports before now but it now gives the same error at this point in the code
Public crpApp As New CRPEAuto.Application
Public crpReport As CRPEAuto.Report
Set crpReport = crpApp.OpenReport(ReportLocation, 1)
Does anyone have a solution to this problem.
I urgently require a solution
Re: Automation Error Running Crystal Report
You can not just copy over a project or exe to another system without errors. You need to create a installation package so it will include the dependancy files needed for your app. You will also need to include the CR dependancies specific to your project. Check the CR Runtime.hlp file for documentation on the exact dlls to include for each function call or control, etc.
Re: Automation Error Running Crystal Report
Hello
Use Set crpReport = crpApp.OpenReport(App.Path & "\" & "Report.rpt", 1)