Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Prevent Users
Message
De
27/11/2004 15:01:11
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
00964953
Message ID:
00965134
Vues:
18
>Hi Dragan,
>
>There'are a few problems with your code:
>
>1. The COPY commnand works with tables only
>2. If you meant COPY FILE command than it will not work either because it cannot see files included into EXE
>
>Including BMP into EXE wouldn't work in this case because user has access to reports and can remove BMP from the reports all together or point to some other BMP.

Once I try something out of my head, without testing, and of course it won't work.
So the alternate solution would be to store the image in a binary memo in a table which would be included in the project, and copy it out of there, run the report, delete the bitmap.

And I was under an impression that the reports were included in the project. If they aren't... I really don't know how to prevent this.

>>Keep the bitmap under a different name inside the project (i.e. rename, then include). Each time before you run a report, copy it out to the original filename.
>>
>>Let's say you have Image.bmp. Create a copy named image_copy.bmp and include it in the project. Then
>>
>>
copy image_copy.bmp to image.bmp
>>report form ... etc
>>
>>So whatever anyone may do to the bitmap, you will always overwrite.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform