Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Icon Stored In General Field - copy to .ico file how?
Message
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Miscellaneous
Thread ID:
00799601
Message ID:
00799791
Views:
24
I'll look at that, thanks George.

>>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.
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Reply
Map
View

Click here to load this message in the networking platform