Results 1 to 7 of 7

Thread: Compile error with VB6 and Crystal Reports 10

  1. #1

    Thread Starter
    Member
    Join Date
    Oct 2006
    Posts
    35

    Compile error with VB6 and Crystal Reports 10

    I am calling a crystal report from within VB and getting this error: "Compile error: Can't find project or library"

    from this line of code:

    Public CrxApp As New CRAXDRT.Application

    Then it shows me a references screen that has a list of things checked, and one is highlighted saying:

    MISSING: Crystal Reports 8.5 ActiveX Designer Run Time Library

    Now I know this works on another computer in my office, but I just copied the program to my computer and tried to run it and obviously I am missing something.

    Does anyone know what I need to do to correct this?

  2. #2
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758

    Re: Compile error with VB6 and Crystal Reports 10

    If you are opening the project in VB and plan to make changes you need to install Crystal Reports.

  3. #3

    Thread Starter
    Member
    Join Date
    Oct 2006
    Posts
    35

    Re: Compile error with VB6 and Crystal Reports 10

    Crystal Reports is installed and I can open the report in question fine from my computer. I thought that maybe there was some kind of link that I needed to install in VB to be able to communicate with a Crystal Report file.?.

  4. #4
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758

    Re: Compile error with VB6 and Crystal Reports 10

    The program has a reference to Crystal 8.5, you have version 10 installed.

    I don't have version 10 and so cannot check, but review all the available referrences for Crystal. Is there anything there that you might be able to choose...

  5. #5

    Thread Starter
    Member
    Join Date
    Oct 2006
    Posts
    35

    Re: Compile error with VB6 and Crystal Reports 10

    Instead of changing stuff and causing problems for users with only 8.5, I think I'll just find a copy and install 8.5 so I can use this program. Thanks for the help!

  6. #6
    PowerPoster
    Join Date
    Feb 2006
    Location
    East of NYC, USA
    Posts
    5,691

    Re: Compile error with VB6 and Crystal Reports 10

    If you make an installation after you compile the program, it won't matter whether the end user has Crystal installed or not. It only matters during development. (See the Application Deployment forum for information on packaging programs using Crystal.)
    The most difficult part of developing a program is understanding the problem.
    The second most difficult part is deciding how you're going to solve the problem.
    Actually writing the program (translating your solution into some computer language) is the easiest part.

    Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.

    Please Help Us To Save Ana

  7. #7

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