Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Extracting Graphic Images from Embedded General Fields
Message
From
10/03/1999 14:55:35
 
 
To
10/03/1999 14:51:31
Thierry Yuen
Stantec Architecture Ltd.
Calgary, Alberta, Canada
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Miscellaneous
Thread ID:
00195892
Message ID:
00196028
Views:
47
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform