Solved

Crystal Report with CV++6

Posted on 1998-12-27
2
607 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
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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to calculate times for developing software? 8 67
has22 challenge 11 96
fix34  challenge 9 121
Thin secure Windows 10 5 98
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

803 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