Results 1 to 7 of 7

Thread: Crystal Reports ViewerControl not referenced (RESOLVED)

  1. #1

    Thread Starter
    Hyperactive Member divined's Avatar
    Join Date
    Aug 2004
    Location
    Thessaloniki, Greece
    Posts
    447

    Resolved 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
    Last edited by divined; May 30th, 2005 at 12:46 PM.
    SteadFast!

  2. #2
    Hyperactive Member
    Join Date
    Mar 2005
    Location
    Manila, Philippines
    Posts
    486

    Re: Crystal Reports ViewerControl not referenced

    hi what version of cr are you using, i think CRAXDRT is in crystal report 9

  3. #3

    Thread Starter
    Hyperactive Member divined's Avatar
    Join Date
    Aug 2004
    Location
    Thessaloniki, Greece
    Posts
    447

    Re: Crystal Reports ViewerControl not referenced

    I`m using Crystal Reports version 10.
    SteadFast!

  4. #4
    Hyperactive Member
    Join Date
    Mar 2005
    Location
    Manila, Philippines
    Posts
    486

    Re: Crystal Reports ViewerControl not referenced

    under it's property does it have a crystal report control?

  5. #5

    Thread Starter
    Hyperactive Member divined's Avatar
    Join Date
    Aug 2004
    Location
    Thessaloniki, Greece
    Posts
    447

    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!
    SteadFast!

  6. #6
    Hyperactive Member
    Join Date
    Mar 2005
    Location
    Manila, Philippines
    Posts
    486

    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

  7. #7

    Thread Starter
    Hyperactive Member divined's Avatar
    Join Date
    Aug 2004
    Location
    Thessaloniki, Greece
    Posts
    447

    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
    SteadFast!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width