Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Again: Best way to handle images with VFP6?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Divers
Thread ID:
00332127
Message ID:
00332143
Vues:
16
>>It is a question I ask several time and the answers are not clear to me. Maybe I am not fast enought. I should go to VB... ;-)
>>
>>I have several situations in my developments where I need the user to be able to add an image to a record. For example, in a client file, to add the client logo; or, in a golf club, to add the map of the field.
>>
>>I wonder how I should handle this. From my previous postings, here are the various answers I got:
>>
>>1) Just put the image file in a directory and keep the address in the record. Retrieve it in an image object.
>>Ok, it seems simple enought. However, I don't like the idea of having the user playing around with the image directory with all the dangers like deleting a file per mistake and so on.
>>
>Ok, why not put these files in a seperate directory and not give the user delete rights. When they grab the files, copy them to the "working" directory, write a record in a table indicating the date,time and filename. Handle processed files in batch mode at the end of the day.

You'r right. This could be a way to handle this. But how about printing ? If I do a report on a record that has a image file address in it, how will I print the image ?
Eric Crespin
Consultant
PC PLUS Software Inc.
www.pcplus.ca
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform