Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Extract BMP pic from Memo field with binary data
Message
 
 
À
27/04/2008 04:24:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01313308
Message ID:
01313372
Vues:
10
What do you mean, "doesn't work" ? What is VFP version? It works for me in VFP9

>
>I have tried to use STRTOFILE but it did not work with data saved by createbinary. It worked only when I did this:
>
>USE enroll
>locate
>lcBmpFile = "C:\fgr\fgricons\test.bmp"
>REPLACE template WITH filetostr(lcBmpFile)    && template is a Memo binary
>
>lcBmpFile = "whatever.bmp"
>STRTOFILE(template, lcBmpFile)
>
>&& This one works, however when I save the image using createbinary() in template Memo, STRTOFILE does not work
>
>replace enroll.template WITH (CREATEBINARY(tpt.tpt))    && tpt is a template.
>
>
>What do you think I should do?
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform