Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How Do I store image data in PictureVal
Message
De
14/10/2005 07:45:54
 
 
À
13/10/2005 23:53:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01057389
Message ID:
01059078
Vues:
24
You cut off the part where I told you to compile that table into your exe. That way the table, the blob field in that table and the picture in that blob field are inside the EXE.

Of course that is on (or has been read from) disk, too. But if the EXE is read into memory it's in memory, isn't it? So you won't have disk access each time the form displays. In fact also a file name in the old Picture property may only result in reading the pic in once, as OS memory swapping and file caching does it's share.

If you are picky you can say that everything comes from disk in the first place, so what's your point?

At least I showed you a way to include the picture inside the exe and reduce the number of files for distribution, which I thought may be your concern.

If you want to be able to show a picture on some canvas by a handle you may consider using some ActiveX component are Win API calls to do this kind of things.

Bye, Olaf.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform