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