Running the following code in VB6
Dim Application As CRAXDRT.Application
Dim Report As CRAXDRT.Report
Screen.MousePointer = vbHourglass
Set Application = CreateObject("CrystalRuntime.Application"
Set Report = Application.OpenReport(App.Path & "\" & filRelatórios)
CRViewer1.ReportSource = Report
CRViewer1.ViewReport
returns this error: Run-time error '424': Object Required
What's wrong once I have selected the appropriate references?
Dim Application As CRAXDRT.Application
Dim Report As CRAXDRT.Report
Screen.MousePointer = vbHourglass
Set Application = CreateObject("CrystalRuntime.Application"
Set Report = Application.OpenReport(App.Path & "\" & filRelatórios)
CRViewer1.ReportSource = Report
CRViewer1.ViewReport
returns this error: Run-time error '424': Object Required
What's wrong once I have selected the appropriate references?