Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Exporting files with embedded bmp files
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01337512
Message ID:
01337756
Views:
9
>mymemo contains x:\podverifydownload\files\tswiss010006.bmp which is the correct location of the image file - if I do the append mymemo I get a memo field with data in it but I can't open it as a picture - save as html doesn't help either - it just looks like rubbish
>
>what am I doing wrong?
>
>thanks
>
>Colin
>
>>Thanks
>>
>>I'll try that
>>
>>Colin
>>
>>>You would want to use Memo/Binary to avoid codepage translations
>>>
>>>APPEND MEMO mymemo FROM (ALLTRIM(fileloc)) OVERWRITE
>>>* or
>>>REPLACE mymemo WITH FILETOSTR(ALLTRIM(fileloc))
>>>
>>>
>>>>
>>>>Probably making heavy weather of this one
>>>>
>>>>My table has a reference (i'll call it FILELOC) to the path of a picture file - how do I embed the picture in a VFP table (presumably a memo field - I'll call it IMAGE) but what code do I use for the replace statement?
>>>>
>>>>I've tried replace image with &fileloc - that doesn't work
>>>>
>>>>Can you enlighten me
>>>>
Specialist in Advertising, Marketing, especially Direct Marketing

I run courses in Business Management and Marketing
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform