Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Extracting Graphic Images from Embedded General Fields
Message
De
10/03/1999 14:55:35
 
 
À
10/03/1999 14:51:31
Thierry Yuen
Stantec Architecture Ltd.
Calgary, Alberta, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Divers
Thread ID:
00195892
Message ID:
00196028
Vues:
53
Hi Thierry ----

Still working on that General field problem? :-)

What about doing a REPLACE to move the binary file to a Memo(binary) field and then use COPY MEMO to the .BMP file?

>Alright, I am no longer getting that erro of having too few arguments. I'm applying the code in interactive mode. Everything seems to be fine, however, when I open up the newly created bitmap file, it is blank when it should have an image. These are the steps I have been taking: (top record has an image)
>
>use "c:\test\555.dbf"
>go top
>handle=fopen("c:\test\555.fpt")
>handleout=fcreate("c:\test\test.bmp")
>=fseek(handle,599)
>=fwrite(handleout,fread(handle,65535),65535)
>=fclose(handle) and fclose(handleout)
>close data
>quit
>
>It won't let me #define in interactive mode.
>Thanks a lot for your help, Cetin.
>
>Thierry
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform