?
Solved

Export Dialouge problem in Crystal report 10 when used from within VB application.

Posted on 2005-02-28
5
Medium Priority
?
213 Views
Last Modified: 2012-05-05
MY VB application opens a crystal report in its Crystal Viewer control and it works fine.
I have just upgraded my system with Crystal 10 I replaced the existing crpe32.dll manually with the one I got from Crystal 10 Cd and the reports are still functionaing well (after the replacement) --- CR 8 based reports with CR 10 crpe32.dll.

However, now when I click on Export toolbar button thru the viewer, it just doesn't do anything, however, it should bring the Export Dialogue so that I can export my reports to PDF.

CR 10 designer allows me to do the same manually without any problem, but I want to do the same thru my Applicaton thru the toolbar button of the Viewer.

I am running Win2K, Visual Basic 6 with SQL Server 2000 & Crystal Reports version 10.
I hope the provided information is sufficient, should you require any other information, please do ask.

Thanx.

0
Comment
Question by:eBird2005
[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
  • 3
  • 2
5 Comments
 
LVL 101

Accepted Solution

by:
mlmcc earned 500 total points
ID: 13419730
You really need to replace many more dlls.

Crystal renamed many of the exporting dlls in CR8.5 and 9 so CR10 doesn't recognize the CR8 dlls so it can't do the export.

I assume you have CR10 installed on the development machine.  If so, then build a new installation packjage using the CR10 merge modules and install it on the machine with the application.

Merge modules for CR10
http://support.businessobjects.com/communityCS/FilesAndUpdates/cr10_rdc_merge_modules.zip.asp

How to build a deployment package with CR10.
http://support.businessobjects.com/communityCS/TechnicalPapers/rdc10_deployment.pdf.asp

mlmcc
0
 

Author Comment

by:eBird2005
ID: 13436565
thanx mlmcc

one more problem that i faced, when i installed my app on a fresh machine and placed a number of Crystall DLLs in system32 (including crpe32.dll etc), my app failed to open the reports.

Please note that I am using direct API calls to manipulate the reports, e.g. calling the functions directly from crpe32.dll

then i tried all possible varitions but it didn't sort out, eventually, I took a merge module, "CrystalReports10_rdc_reportengine.msm" and included it in a simple installer (.NET) and installed it over the client and my reports started working.

when i checked out i noticed that there were about 170+ files in that merge modue.

My question is, can i somehow include that merge module in my VB installer? becoz according to current scenario I have to manage 2 installers, one for my App (VB Installer) and the other for Crystal (.NET Installer) as VB Installer doesn't allow to include merge modules, even if i include them as files they are just copied to the client's machine as it is .... the internal files are not decompressed.

thanx.

0
 
LVL 101

Expert Comment

by:mlmcc
ID: 13446877
The merge modules are really for use with the other methods of calling reports.  Interesting that they include the files you need.  I suspect they have many other files you don't need.

This may help explain how to use them.  I still have CR8 and no merge modules.
http://www.experts-exchange.com/Databases/Crystal_Reports/Q_21335492.html#13444746

mlmcc
0
 

Author Comment

by:eBird2005
ID: 13456331
Thanx mlmcc,

I have managed to solve my problem the following way.

I built a Setup project by VS.NET and included the following from CR 10 CD [mm I got from the link you sent above] in that.

1. CRPE32.dll <destination path system32>
2. u2ddisk.dll <destination path system32>
3. CrystalReports10_rdc_reportengine.msm

Installed the above on a fresh Win2K box and everything is working fine. ...;-)

Thanx for your help.
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 13464315
Glad i could help

mlmcc
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month8 days, 12 hours left to enroll

764 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