View Single Post
  #3 (permalink)  
Old December 25th, 2005, 11:37 AM
ahmed_hammam70 ahmed_hammam70 is offline
Registered User
Join Date: Dec 2005
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

You Can Use the following code after adding the component : Crystal ActiveX Report Viewer Library 10.0
Dim Appl As New CRAXDRT.Application
Dim Report As New CRAXDRT.Report
Set Report = Appl.OpenReport("d:\Report3.rpt")
CRViewer1.ReportSource = Report

where CRViewer1 is the name of the added component to your project

Reply With Quote