Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Storing JPEGS into a general field
Message
De
21/12/1999 16:47:15
 
 
À
21/12/1999 13:43:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00306838
Message ID:
00306973
Vues:
21
Hi Adam,

>Does anyone know how to store a JPEG file into a genearal field. Does anyone have a fix for this or a suggestion ?

If the General field doesn't pan out, an alternitive is to save the file in the memo field, you can use FileToStr() to get it in there, then StrToFile() to get it out and create a temp file, then put it back in.

Another thing you could do (if you store these just for security reasons), is to change the file extension (just an easy dupe for users) and then mess with the file at low level so they can't be read. Then when you want to open them, save the file back via lowlevel.

I don't know how well this works with JPGs (I don't know it shouldn't), but I've heard folks doing this with DBF files.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform