Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help, Saving Embedded Images to a File
Message
De
11/09/1997 14:01:02
David Kappler
Control Systems International
Houston, Texas, États-Unis
 
 
À
09/09/1997 01:32:56
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordanie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00048597
Message ID:
00049574
Vues:
60
>>> 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..


Thanks for your help, I will check the site.
***********************************************************

David Kappler
Project Engineer
Control Systems International
Katy, Texas
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform