Solved

Crystal Report with CV++6

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

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

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: 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.
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

627 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