Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Saving / Writing Image as a Blob
Message
From
06/04/2012 12:17:43
 
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:
01540508
Views:
57
>>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.


> but we had guests

John Baird, I take it
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform