Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is it Possible to Read Icons from ICL files
Message
From
05/01/2012 17:32:01
 
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01532242
Message ID:
01532252
Views:
45
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform