Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Icon Stored In General Field - copy to .ico file how?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Divers
Thread ID:
00799601
Message ID:
00799780
Vues:
28
>Hi David,
>
>The problem is that this table is also used in an FPD26 app so it is a free fox2x table. The goal is to store an icon in the table so it can be copied from the table to a directory on the user's system only when they need it for a specific function in a third party app (it is part of a bridge). The table will never hold more than 10 or so records which we can redistribute when the icon changes (doubtful it ever will) or any of the values in the other fields change (possibility). This icon storage and copying of the icon portion from the table to the user's hard drive is the only part that's holding me up...
>
Tracy,

An icon file has a fixed size based on the icon's size, color resolution, number of icons and so on. For example, a 32x32 16 color icon file is always 766 bytes. You might try seeing if an icon file always begins at the same point within the General field.

What you could do is load an icon from an icon file into a string, then using AT() find its starting point in the field. Then repeat a couple of times and compare the results.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform