Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to assingn a general field to image control
Message
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Miscellaneous
Thread ID:
00177427
Message ID:
00177565
Views:
30
Hi José,

>i have a table, this table has a general field, this field has employee photo, how i can to assign this general field to image control, i
>need to see the photo in the image control.

You can't. A general field always needs a OLE server to be displayed, and the only control that can control a server is the OleBoundControl. If you need the image, you have either to store the path to the image in a text field, or use a binary memo field to store the image and copy it to a temporary file in order to display it. I'd use the first technique when the path remains the same on all computers, and the second if I've to deal with path issues or the image should not be stored in a separate file (maybe for performance reasons).

Christof
--
Christof
Previous
Reply
Map
View

Click here to load this message in the networking platform