Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Picture not perfect.....Help
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00058271
Message ID:
00058276
Vues:
25
>Dear all,
>
>I faced another problem. Please help. THanks in advance.
>
>I created a table with a general field to keep picture.
>For example.
>
>eg.picture General 4
>
>The saving part is ok but when I tried to retrieve the
>general field and display it in my form it gave me
>an error "Function argument value, type, or count is
>invalid". I followed the example coding in tastrade but
>still generate error.
>
>The coding goes like this.
>
>LOCAL lcfile
>
>store "" to lcfile
>* IF FILE(eg.picture)
> lcfile = eg.picture
> ELSE
> lcfile = ''
> ENDIF
> thisform.imgphoto.picture = lcfile
>* this is the part which the debugger point at and give
>me an error message.
>What is wrong? Please help.
>
>Dora

Is your 'imgphoto' control a 'OleBoundControl' ?
This is needed to display a general field.

;0)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform