Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Icon Stored In General Field - copy to .ico file how?
Message
 
 
To
12/06/2003 18:10:10
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Miscellaneous
Thread ID:
00799601
Message ID:
00799661
Views:
25
Tracy,

IMHO you should more simply use a binary memo instead of a general field.

create table memotest ( mFile m nocptrans )
append blank
replace mfile with filetostr( getfile() )
strtofile( mFile, "copied.gif" )


>I've been testing a few code examples I found on the UT for copying bmp files from a general field to an actual file, however, while they seem to work with .bmp files, I cannot get it to work with an icon file. It creates a file, but windows does not recognize it as an icon file and the file opens up empty or blank in windows image editor, picture editor, paint, etc. I have a table named 'bridges' with a general field named 'icon' which stores an actual icon file, not a link. My goal is to copy the icon file stored in the general field to a specific path and filename.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform