Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crystal 8.5 VCL - Corrupt report preview window

Status
Not open for further replies.

AlienFingers

Programmer
Jun 28, 2005
7
GB
Our application uses Crystal Reports throughout. All the required dll's are copied during installation and everything works fine, but on one client machine the preview window is corrupt. A tiny white box (the page at about 100 x 150 pixels in size) sits in the middle and that is it. Records are being read, and even multiple pages are shown to exist, yet nothing is actually visible. None of the controls work, although they react to mouse behaviour (for example: the preview size combobox can be dropped-down, yet the value cannot actually be altered).
I've checked the following system files which I know can cause problems, and they are the same as the other boxes (all machines are running xp pro sp2):

msvcrt.dll
msvcirt.dll
msvcp60.dll

Are there any other files which can cause issues?

Someone please help - I have a knack for creating posts which never receive a response!

Thx in advance
 
Thanx, I've duplicated it there - posted in the Delphi forum as a Delphi developer is of a higher calibre than a CR developer ;o)
 
I have no idea if it would help, but it maybe worth comparing default printer settings on the machine where you have the problem with the settings on the machines where it works.

P.S.
(I have never used crystal reports, however i had a similar issue with some other reporting tools, it turned out that the report genenerators i was using used default printer settings to prepare the report and in my case the problematic machine had a label printer set as default, if thats the case for you you can easily perform some checks on current printer settings at runtime before you prepare the report).

You will forgive me if i wasted some space and time with this reply. Is all with a good intention :).

good luck
 
Unfortunately it is set up to the same network printer as the other machines, and even if I set the default printer as a Zebra label printer it doesn't affect the preview window. I'm sure it's a dll conflict, but I've no idea which one it could be!

Thx anyway
 
Crystal can be a pita.

The best way to help is to look at all the crystal dll's and their size/date/version numbers and check that machine against another machine.
It is a lot of work, but put a bat file together and pipe the output to a file for each machine then compare the files.

Here is a utility that I compiled, from Dr Dobbs Journal Mar, 98.

You pass it a list of files with full path names and it returns the info in a file for comparison.

This may help you too.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top