Crystal Reports ViewerControl not referenced (RESOLVED)
Hello everybody
I`m trying to define a Crystal Reports viewer control in my application. I have a reference to the Crystal ActiveX Report Viewer Library 10 and the Crystal Reports Designer Designer and Runtime Library 10. Now, I want to define a Viewer control using this code :
Code:
Dim crvMyViewer As CRAXDRT.ViewerControl.
Unfortunately, the ViewerControl cannot be found in the code above. Do I need to reference some other library?
George Papadopoulos
Re: Crystal Reports ViewerControl not referenced
hi what version of cr are you using, i think CRAXDRT is in crystal report 9
Re: Crystal Reports ViewerControl not referenced
I`m using Crystal Reports version 10.
Re: Crystal Reports ViewerControl not referenced
under it's property does it have a crystal report control?
Re: Crystal Reports ViewerControl not referenced
I`m not currently using the computer where I have Crystal Reports. But, if I can recall correctly CRAXDRT has a Viewer property. Could this be the Viewer control? I`m not sure this is what you were asking, however!
Re: Crystal Reports ViewerControl not referenced
yup craxdrt is a crystal report viewer, the problem though is i am using 8.5, so maybe i can help you in another way or so
Re: Crystal Reports ViewerControl not referenced
I found out what was going wrong. Actually, it was my fault. I had been misled to believe that the Report Viewer was not a component and I was just trying to declare an object for it. After inserting such an object onto my form everything fell into place.
thx, for the help
George Papadopoulos