CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2000
    Location
    Tehran - Iran
    Posts
    949

    Crystal Report object !

    Hi all,
    I used Crystal Report object in one of dialogs in my program ...
    Now, i wanna make Setup disk for it,
    I added CRYSTL32.OCX to my setup disk project.
    I also added CRPE32.DLL ...
    I registered the CRYSTL32.OCX activex in other computer without any problem ...
    But when i open the dialog which has Crystal report object, then i get this error:
    "Can not found database DLL"
    What is it ?
    Can you tell me the list of crystal report dlls that i must copy them in other computer for using crystal report activex ?

    Please help me

    My month article: Game programming by DirectX by Lan Mader.
    Please visit in: www.geocities.com/hadi_rezaie/index.html

    Hadi Rezaie

  2. #2
    Join Date
    Apr 2001
    Location
    Turkmenistan
    Posts
    674

    Re: Crystal Report object !

    Hi there!
    Actually, it is not enough to have ocx file on your computer so that your CR object could properly work on that machine. In fact, there is a lot of dll files you have to copy to the PC where you are going to use you CR object. These dll files should be distributed with accordence what kinda db connection you are going to use: ADO, ODBC, DB library, ORACLE , etc.,(they are huge files).
    I think you'd better create executable Crystal report file (exe) and install it on the PC you are going to install your main application. In this case, CR install shield automatically copies necessary dll files on the PC so that your report could properly work on that PC.

    Bayram.


  3. #3
    Join Date
    Oct 2000
    Location
    Tehran - Iran
    Posts
    949

    Re: Crystal Report object !

    Thanks alot for your reply

    My month article: Game programming by DirectX by Lan Mader.
    Please visit in: www.geocities.com/hadi_rezaie/index.html

    Hadi Rezaie

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

Featured