Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Saving / Writing Image as a Blob
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Miscellaneous
Thread ID:
01539374
Message ID:
01539376
Views:
53
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform