>Hi all!
>
>Ii wanna use JPG's instead of BMP's when saving pics with VFP 5.0. Is there any ActiveX to handle this?
>
>I think we'd need a control to display the JPG in a form, another control or class to select it (with a preview), and no more, since I guess we can save the pic in a General field? or not?
>
>TIA!!
I am not a big expert in working with images in VFP, but I think there are two different parts in this question:
How to display pictures in the forms?and
How to store pictures of selected graphic format?For VFP 5.0 to display JPGs you can use WebBrowser ActiveX
or some third party tools, for example LeadTools which will provide more options here. (
http://www.leadtools.com)
You can store the pictures in General field, but it is more tricky to extract them from there if necessary. As I can see, many developers agree that it is better to store just picture names in the table and keep the pictures separately.
Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison