I have inherited some VB6 that displays Crystal Reports on the screen. The code currently only works with Crystal Reports 8.5 and 9 and the way it works is something along the lines:
Uses CreateObject(“CrystalRuntime.Application.8.5”) or CreateObject(“CrystalRuntime.Application.9”)
Then loads the report using object.OpenReport(ReportFilename, 1)
Then displays the report on screen
All this works and whether it is right or wrong; I don’t know. All I have been tasked to do is to get it working with CR XI and CR XII (apparently 2008).
I have tried CreateObject(“CrystalRuntime.Application.11”) (and .12) and this gets an error “ActiveX component can't create object”
Yes CR XI is installed
Does anyone know how I can use CR XI and XII with CreateObject?
Thanks in advance.
Thread Closed
This thread is kinda stale and has been closed but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.