Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help, Saving Embedded Images to a File
Message
De
09/09/1997 01:32:56
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordanie
 
 
À
07/09/1997 03:40:39
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00048597
Message ID:
00049099
Vues:
45
>> While they are in one of my forms viewing the images they may hit a button
>> that will bring up a save as prompt. When they decide upon a filename then
>> hit save as, I call the code that you have provided. Unfortunately I have
>> not had any success at opening the .fpt file. After the file is saved
>> 'filename.fpt' I rename it to 'filename.bmp' but am not able to open it
>> with paintbrush, etc.
>>
>> I hope that this is enough background information for you. Oh, my
>> programming experience is as follows:
>> 2 years MS Access Database - single user application.
>> 1 year MS Visual Basic
>> 2 months VFP.
>>
>> Here again is the code snippet that I am using.
>>
>> SELECT citations
>> SET ORDER TO citation_n
>> CitationNumber = INT(VAL(CitationNumber))
>> SEEK CitationNumber
>> COPY FIELD citation_images_signature NEXT 1 TO &Filename
>
>The .fpt file has several header bytes which probably prevent any bitmap proces
>sing app to recognize
>the format of the file. Try
>
>savename_lc=putfile("*.bmp")
>Copy memo citation_images_signature to (savename_lc)
>
>The first line is probably having syntax error (putfile has more parameters, AF
>AIK), anyway
>savename_lc is the filename of the .bmp file to create. This will work if you s
>tore the bitmap to a
>memo field using
> Append memo citation_images_signature from (bmpfilename_lc)
>If you're not sure if the memo field is empty, you may add OverWrite clause. No
>w, since it's a
>general type or something like that, the memo field may contain some extra head
>er, so in that case
>I'm not sure.


David,

Pls Chk this web site

http://abri.com/#imgview

It is having a utility which can save images to BMP files..
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform