Link to home
Start Free TrialLog in
Avatar of eBird2005
eBird2005

asked on

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

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.

ASKER CERTIFIED SOLUTION
Avatar of Mike McCracken
Mike McCracken

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of eBird2005
eBird2005

ASKER

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.

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.
https://www.experts-exchange.com/questions/21335492/CrystalDecisions-CrystalReports-Engine-LogOnException-Logon-failed.html#13444746

mlmcc
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.
Glad i could help

mlmcc