Re: afficher l'image et non son path !

Posté par drcharly93 le 20/12/2005 0:20:07
Bonjour,

pour insérer une image dans une base de données Hyper File il vous faut passer par la fonction
HAttacheMémo
exemple:
ma_photo est une chaine
ma_photo=fsélecteurimage("","","sélectionnez ...",ffiltreimage())
si ma_photo="" alors
retour
fin
Si pas HAttacheMémo (<Fichier>,photo,maphoto, hMémoImg ) alors
 Erreur(HErreur())
 Retour
Fin
EcranVersFichier()
HAjoute(<Fichier>)

Cette contribution était de : http://old.wdforge.org/newbb/viewtopic.php?forum=14&topic_id=3241&post_id=13770