?
Solved

VB6 craxdrt9.dll produces low resolution image

Posted on 2009-05-12
6
Medium Priority
?
659 Views
Last Modified: 2012-05-06
Hi All
We use a VB6 program to export Crystal Report 9 results as PDF files on our server. The problem is, when the same report is printed directly from the Crystal Report 9 developer tool, the image quality is very good. However, when the VB program uses export option of the crystal object within the VB program, the image quality is drastically reduced. We've been trying to work out what is causing this problem, but thus far have had no luck. The version of the craxdrt9.dll file that we use is: 9.2.3.1368 but i'm not sure if the problem is with this dll itself anyway. If anyone has any ideas of how we can overcome this problem it will be very much appreciated. I have attached a snippet of the code. Thank you.
Dim crxApp As New CRAXDRT.Application
Dim crxRpt As CRAXDRT.Report
 
csFullReportName = App.Path & "\Reports\" + csReportName
Set crxRpt = crxApp.OpenReport(csFullReportName)
crxRpt.DiscardSavedData
crxRpt.Database.Tables(1).SetLogOnInfo csSrv, csDB, csUserID, csPassword
crxRpt.ParameterFields.GetItemByName("@ReportName").AddCurrentValue csReportName
crxRpt.ParameterFields.GetItemByName("@Submitter").AddCurrentValue csSubmitter
crxRpt.ParameterFields.GetItemByName("@GUID").AddCurrentValue gcsGUID
crxRpt.DisplayProgressDialog = False
crxRpt.ExportOptions.DestinationType = crEDTDiskFile
crxRpt.ExportOptions.FormatType = crEFTPortableDocFormat
crxRpt.ExportOptions.PDFExportAllPages = True
crxRpt.ExportOptions.DiskFileName = csPDFFileName
crxRpt.Export False

Open in new window

0
Comment
Question by:LITTLE RealEstate
[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
  • 3
6 Comments
 
LVL 101

Expert Comment

by:mlmcc
ID: 24370488
When you say image quality do you mean the whole report or is there an image on the report.

mlmcc
0
 

Author Comment

by:LITTLE RealEstate
ID: 24370587
Sorry, I should have been more clear about the image. The image itself is a dynamic jpg image that is displayed on the report via an add-on tool called cview. The reason we use this cview product to display an image is because the imaged that will be displayed on the report is dicdated by the data. To give you some more info about the problem, the image quality ends up coming out as 96dpi instead of 200dpi. Hope that helps. Thanks.
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 24370958
That's what I thought just making sure.

I know there were some issues with quality on export to PDF.  Do you hae the last service pack for CR9 installed?

mlmcc
0
What Is Blockchain Technology?

Blockchain is a technology that underpins the success of Bitcoin and other digital currencies, but it has uses far beyond finance. Learn how blockchain works and why it is proving disruptive to other areas of IT.

 

Author Comment

by:LITTLE RealEstate
ID: 24371453
As for the Crystal Reports development took we use "CR Professional Product Type: Full" and version: 9.2.0.448. The version of the craxdrt9.dll we deployed to each of the user's machine is: 9.2.3.1368, but I don't know if this has any bearing on this problem.
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 24371812
It could.  I don't know how the version numbering goes but it seems they are far enough apart to perhaps cause problems.

mlmcc
0
 

Accepted Solution

by:
LITTLE RealEstate earned 0 total points
ID: 24381337
Yeah that's possible too. Thanks for your help and your suggestions. I think this is going to be one of those problems that's going to take quite a bit of time to resolve. Thanks.
0

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

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

Lync meeting or Lync conferencing is what many organizations would like to deploy to allow them save money. But companies are now giving up for various reasons, one of which is that they cannot join external meetings (non-federated company meetings)…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…

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