Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Exporting files with embedded bmp files
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01337512
Message ID:
01337756
Vues:
10
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform