Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Converting General field to BMP
Message
 
To
08/09/2003 03:17:54
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Miscellaneous
Thread ID:
00826991
Message ID:
00827414
Views:
23
You should be ablt to figure this one out....

SELECT pictures
* Make sure the created file contains this picture only!
COPY TO &lcdbf FIELDS &pcfield &pnfor && for upper(&pcField)=upper(pcPict)
lnhandle=FOPEN(lcfile + '.fpt')
lnhandleout=FCREATE(lcfile + '.bmp')
=FSEEK(lnhandle, 599)
DO WHILE !FEOF(lnhandle)
=FWRITE(lnhandleout, FREAD(lnhandle, 512), 512)
ENDDO
=FCLOSE(lnhandle)
=FCLOSE(lnhandleout)


>Hi All,
>I have BMP's in a general field in an app, and I would like to extract them to BMP's. I'm running VFP 7. How can I go about doing this?
>
>Thanks.
>
>Daniel
Previous
Reply
Map
View

Click here to load this message in the networking platform