Solved

Crystal Report with CV++6

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

Independent Software Vendors: 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

Suggested Solutions

Title # Comments Views Activity
xyBalance chalenge 58 102
Perl Awk Need Help 3 138
ffmpeg - "rtsp://...... Operation not permitted" 4 89
x-bar in Google Sheets 2 93
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

756 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