Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Storing a picture
Message
De
21/03/2003 15:42:41
Fabian Belo
Independent Developer
Argentine
 
 
À
21/03/2003 15:34:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Divers
Thread ID:
00768632
Message ID:
00768767
Vues:
25
Indeed.
If you omit AS is the same: AS = 0

>Good idea Fabian, but I would make one recommendation. Use APPEND MEMO ... AS 0 (or define the memo field using NOCPTRANS) to keep code pages from inadvertantly translating something in the binary image.
>
>
>
>
>>I do not recommend to store images (whatever format is) in tables because obvious memory reasons, but an alternative instead general fields (worst election) is memo fields which is more convenient than general.
>>i.e.
>>
>>Adding:
>>
>>
>>select table1
>>append blank
>>replace name_id with "Image1"
>>APPEND MEMO table1.img from "Path_FileName" overwrite
>>
>>
>>Showing:
>>
>>
>>*** Change file extension for BMP or GIF
>>lcFile = SYS(2023)+"\"+Sys(3)+".JPG"
>>Copy Memo table1.Img to (m.lcFile)
>>thisform.Image1.Picture = m.lcFile
>>
>>
>>
>>>Is there a way in VFP to store a bmp file inside a VFP database? I would like to do this like can be done in Access.
>>>
>>>Any ideas?
>>>
>>>Thanks
>>>
>>>Alan Wyne
>>>IS Manager
>>>Rollpak Corp
"Since I've read that alcohol is bad... I quit reading."
Me


http://www.fabianbelo.com.ar
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform