hi,
you have to re-Install the Crystal Reports software properly. along with the software, necessary activeX components will be installed.
Once you've done that, then add the Crystal Reports Control to the form and try the following code
With CrystalReports1
.ReportFileName = "D:\Report3.rpt"
.WindowState = crptMaximized
.ReportTitle = "My Report"
.PrintReport
End With
Hope this will solve your problem. Do revert back in case any problem occurs
Regards,
Raghu
|