Hello.. is there anyone out there can help with my problem?? my problem is that i want to generate a report in my visual basic application. I am using the Crystal Report 10 ActiveX in my form. My code is my btnGenerate is this:

With CrystalReport1
.ReportFileName = App.Path & "\Reports\Material Valuation.rpt"
.DiscardSavedData = True
.ReportSource = 0
.ReportTitle = "Material Listing"
.Destination = crptToWindow
.PrintFileType = crptCrystal
.WindowState = crptMaximized
.WindowMaxButton = False
.WindowMinButton = False
.PrintReport
.Action = 1
End With

But it says that

Run-time error 20525 unable to load report


Please help me regarding this problem. Thank you very much.


Aris.