Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using JPG's instead of BMP's. Any OCX??? (VfoxPro 5.0)
Message
 
To
06/02/1999 11:42:49
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00184703
Message ID:
00184707
Views:
23
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform