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:51:31
Thierry Yuen
Stantec Architecture Ltd.
Calgary, Alberta, Canada
 
 
To
10/03/1999 12:56:58
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Miscellaneous
Thread ID:
00195892
Message ID:
00196026
Views:
43
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform