Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to assingn a general field to image control
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Divers
Thread ID:
00177427
Message ID:
00177565
Vues:
34
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform