Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How Do I store image data in PictureVal
Message
From
14/10/2005 07:45:54
 
 
To
13/10/2005 23:53:04
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01057389
Message ID:
01059078
Views:
19
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform