General information
Category:
Coding, syntax & commands
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only