Solved

QuickReport Preview

Posted on 1999-01-22
8
754 Views
Last Modified: 2013-11-22
When i show a QuickReport preview on a system WIN-NT 4.0 or WIN-95 system that has no Delphi 4.0 installed or previously has had installed, the icons on the toolbar buttons are not shown.

The buttons work correctly, the hoover text is shown, but no icons.

I registerd the changes Delphi has left on the system after an install and un-install, and try to apply them on a clean system.

The 75 Kb registry settings where no problem, but 2 of the 30 files: comctl32.dll and msvcrt.dll in the system32 directory can not be changed. The result was that the icons where still not visible.

My guess is that it has something to do with these files.

Environment:
  Delphi 4.0 c/s update pack2, quickreport 3.0.3 update pack
  WIN-NT Workstation 4.0 build 4
0
Comment
Question by:Goes
  • 4
  • 3
8 Comments
 
LVL 8

Expert Comment

by:ZifNab
ID: 1362816
If you have D4, you should use Quickreport 3.0. QR3 is standard with D4.
0
 

Author Comment

by:Goes
ID: 1362817
Edited text of question
0
 

Expert Comment

by:dotan
ID: 1362818
I Think the Qrpt40.bpl Supplied in the second D4 update is no good.
Try to swap it for the old one from the 18/6/98.
0
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 

Author Comment

by:Goes
ID: 1362819
Thanks for the comment dotan, but it has no result.

I have copied the original Qrpt40.bpl and Qrpt40.dcp from the
CD-ROM. Still no result. After this I run the Qreport 3.0.3 Update again, still no result.

So if somebody has any other suggestions, please do, it is of great importance to me.
0
 

Expert Comment

by:dotan
ID: 1362820
If it is not the Qrpt40.bpl the it must be the Comctl32.dll .
What size and date is your's ??
0
 

Author Comment

by:Goes
ID: 1362821
Your are correct dotan. I found a clean system an replaced the standard comctl32.dll with the altered one. Then the preview works correctly.

But now the question is: how can I, by using the InstallShield wizard, replace the old Comctl32.dll by the New one on a NTFS partician?

Winnt holds a lock on this file. I tested it on a winnt 4.0 system with a FAT file system. This way i could reboot from a floppy disk and replace the Comctl40.dll manualy.
0
 

Accepted Solution

by:
dotan earned 200 total points
ID: 1362822
Well...........
This is a different story.
It involves setting a value in the registry that indicates the OS to swap the old and new files while ReBooting.
I'll try to look into it later and post a step by step answer.
As for now... you can still give me the points for this Q :-)
Have fun.

0
 

Author Comment

by:Goes
ID: 1362823
I found out that if you add comctl32.dll to the systemfiles group in the InstallShield wizard, the InstallShield recognizes that it is a locked file and automatically tells you to reboot.

When you do the file is copied during the reboot!!!

Dotan thanks for the help, it isn't a real answer to my question, that i found out my-self, but anyway, thanks for the interest you took in my problem.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to use Hashing sha1 in Delphi 2010 4 259
Run video youtube webbrowse 10 61
DBGrid or StringGrid ? 6 88
PHP preg_replace code convert to Delphi 14 54
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

816 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now