Solved

Crystal Report with CV++6

Posted on 1998-12-27
2
613 Views
Last Modified: 2013-11-20
Hello Folks,

    I inserted a Crystal Report activex control into my project. There are two classes added into my project. One of the class named 'CCrystalCtrl' that has so many API but without any help info. Anyone has experience using CR with VC++, please help...... I am grateful for any info your can offer. Many Thanks.

p.s. If possible, please give me details instruction...

stephen
0
Comment
Question by:stephenkong
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Author Comment

by:stephenkong
ID: 1326788
Hi

     I put a following statement into one of my message handler.

    m_cInfoCrystalReport.SetAction(1);

    When I execute the program and try to print the report, "Missing or Out-of-date export DLL." error dialog box pop up. Why?????????

stephen

0
 
LVL 1

Accepted Solution

by:
majorjohn earned 50 total points
ID: 1326789
Hi!

First you embed CRW30.EXE in your VC++ MENU where all SPY and others are existing. It is optional. You may create your report files outside VC++. Cr. Report Writer interacts with database only. When your entire report is created it will be saved in a particulat .RPT or others( for other version) file. Then you add one Crystal Control in your dialog. Assign the above report file name with the control. Add a member variable m_XXX and associate it with the Crystal Control ID_ Varialbe. Now in OnInitDialog() just call the member function SetAction(1) to execute the report. m_XXX.SetAction(1) will show the report on screen and then according to the user it will give hard copy.

If you need more clarification and explanation please let me know.

Thanks
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Suggested Courses

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question