i am trying a project whic keeps tack with student records using vb 6.0 and MS Access.

now i install crystal report 10.0

i want to call my report such as in form load event using Crystal ActiveX Report Viewer library 10.0

finally i got the errror "User-defined type not defined in first line i.e
Dim Appl As New CRAXDRT.Application
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Dim Appl As New CRAXDRT.Application
Dim Report As New CRAXDRT.Report
Set Report = Appl.OpenReport("d:\Report3.rpt")
CRViewer1.ReportSource = Report
CRViewer1.ViewReport
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
tell me ther solution .step by step.
if any other method to connect the crystal report provide me the steps

thanks