View Single Post
  #5 (permalink)  
Old January 20th, 2006, 07:18 AM
pravin123 pravin123 is offline
Registered User
Join Date: Jan 2006
Location: Nagpur, Maharashtra, India.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

Hello friends

When i used the following code to run the crystal report.
error message displayed "User defined Type not defined".

Wht is this CRAXDRT i can not use it in my VB6 from.

If anybody can help me....

quote:Originally posted by ahmed_hammam70
 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