Compile error with VB6 and Crystal Reports 10
I am calling a crystal report from within VB and getting this error: "Compile error: Can't find project or library"
from this line of code:
Public CrxApp As New CRAXDRT.Application
Then it shows me a references screen that has a list of things checked, and one is highlighted saying:
MISSING: Crystal Reports 8.5 ActiveX Designer Run Time Library
Now I know this works on another computer in my office, but I just copied the program to my computer and tried to run it and obviously I am missing something.
Does anyone know what I need to do to correct this?
Re: Compile error with VB6 and Crystal Reports 10
If you are opening the project in VB and plan to make changes you need to install Crystal Reports.
Re: Compile error with VB6 and Crystal Reports 10
Crystal Reports is installed and I can open the report in question fine from my computer. I thought that maybe there was some kind of link that I needed to install in VB to be able to communicate with a Crystal Report file.?.
Re: Compile error with VB6 and Crystal Reports 10
The program has a reference to Crystal 8.5, you have version 10 installed.
I don't have version 10 and so cannot check, but review all the available referrences for Crystal. Is there anything there that you might be able to choose...
Re: Compile error with VB6 and Crystal Reports 10
Instead of changing stuff and causing problems for users with only 8.5, I think I'll just find a copy and install 8.5 so I can use this program. Thanks for the help!
Re: Compile error with VB6 and Crystal Reports 10
If you make an installation after you compile the program, it won't matter whether the end user has Crystal installed or not. It only matters during development. (See the Application Deployment forum for information on packaging programs using Crystal.)
Re: Compile error with VB6 and Crystal Reports 10
http://www.vbforums.com/attachment.p...id=47243&stc=1
I moved your thread since it's a deployment problem.
Use the P&D Wizard or Inno to create a setup package.