You've been using an older integration method that is no longer supported. You should move to the RDC, which is invoked with
oCrystal = CREATEOBJECT("CrystalRuntime.Application")
You will also need to change all of your calls as the methods and properties are different in the RDC than the old automation server.
>Hi all!
>
>I installed Crystal reports 9 on my machine. And now when I try to run a report from my app it says "Class definition Crystal.CrystalReport is not found". I use the following code to initialize Crystal:
>
>Public oCrystal
>oCrystal = CreateObject("Crystal.CrystalReport")
>
>I used this code for CR 8.5. Maybe something was changed in CR 9?
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer