Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is it Possible to Read Icons from ICL files
Message
De
05/01/2012 17:32:01
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01532242
Message ID:
01532252
Vues:
44
This message has been marked as a message which has helped to the initial question of the thread.
>Is there a way for a VFP application to read icon images from an .ICL library file? If so, please provide some code to give me a jump start. If not, would anyone know of a way to consolidate ico files into a master file, and still allow the ico to be used in FoxPro?
>

(1) If you really insist on a single file, it could be a DBF -- in which case, store your
images in BLOB fields, NOT General fields. Avoid the latter like the plague.

-OR-

(2) If you don't insist on a single file, you could use a master DBF to store the
paths to the individual image files, instead of storing the images themselves.

-OR-

(3) If each image is associated with a specific record (i.e., picture of a customer),
you don't even have to store paths -- you could make the path and the image-file/
folder/subfolder/etc. names be functions of the associated record's primary key.

-OR-

(4) You could use a combination of the above techniques for different types of
images, depending on what you are trying to accomplish. (Just IMHO, while mashing
everything into a single file reduces clutter, it also reduces flexibility too much.)

-m.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform