|
-
Jul 28th, 2005, 01:09 PM
#1
Thread Starter
New Member
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
-
Jul 31st, 2005, 12:03 PM
#2
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.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Aug 7th, 2005, 02:56 PM
#3
Fanatic Member
Re: Automation Error Running Crystal Report
Hello
Use Set crpReport = crpApp.OpenReport(App.Path & "\" & "Report.rpt", 1)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|