Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Making small exe files, and sharing images between reports

edited October 2002 in General
In looking to keep the executable file size as small as possible, I wondered
if I could make some size saving with common images used on different
reports. The images are JPEG, and I thought of loading from external file
but I don't want these images exposed where they could be tampered with.

Then I tried loading the image from a JPEG resource (something that had made
me savings elsewhere with an image on a form). But I found that the exe was
larger than storing the image at design time in a single ppImage (so
guessing that unlike my image on a form it is not being converted to a
bitmap).

So how do I pass the image, held so securely and efficiently in a ppImage,
in a ppreport on a form to a separate report at runtime? Note first form &
report will not be instantiated at the time. Doesn't sound hopeful does it.
Or is there an efficient way of holding common JPEG images?

Any other suggestions for optimising ReportBuilder use to reduce exe file
size would also be appreciated.

Sarah

Comments

This discussion has been closed.