Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scanner
Message
De
27/12/2004 02:59:52
 
 
À
26/12/2004 20:44:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Titre:
Versions des environnements
Visual FoxPro:
VFP 7
Divers
Thread ID:
00970541
Message ID:
00972265
Vues:
21
Hi Simplicio,

please note that is more or less commonly accepted that putting pictures in a general field is a bad idea for a number of reasons. Storing the pictures in seperate files, and only having the name of the picture file in the table, is a much better and more flexible solution.

>Hi Mohammed ,
>
>Ive done this is using SQL svr. But i thnk its the same in VFP table. I store photo in Memo General Field. But if what u mean is u want to automate the scanner. Use Twain API.
>
>
>
>
>** Inserting
>lcFilePic=GETPICT("BMP")
>
>IF !EMPTY(lcFilePic)
> SELECT vstudentsforphoto
>
> APPEND GENERAL PHOTO FROM (lcFilePic) CLASS BMP
>
> requery("vstudentsforphoto")
>
> >ENDIF
> >
>javascript:MessageSubmit()
[Save this message so it will appear for other members immediately]
>***
> select vstudentsforphoto
> COPY MEMO photo TO (lcNewFilePath)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform