Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Saving / Writing Image as a Blob
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Divers
Thread ID:
01539374
Message ID:
01539376
Vues:
54
>I need to save a thumbnail of a page and then write it back out later. This code seems to work just fine but I thought I would run it past the brains here to make sure it's the best way and that I won't run into any problems.
>Thanks folks.
>
create cursor c_test (thumbnail W)
>m.Thumbnail = FileToStr('noimage.jpg')
>insert into c_test from memvar
>* brow
>=StrToFile(c_test.thumbnail, 'btest.jpg')
Is it only VFP or SQL Server is also involved? If the latter, then there is a problem with remote views and varbinary(max) for big files. I wanted to write a blog this weekend about it, but we had guests and I didn't. May be next weekend.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform