Information générale
Titre:
Append General Command to Import .bmp file into gen field
I'm currently using VFP 5.0a
I tried to import .bmp files to gen fields (photo) of the members.dbf
table with the following codes:
>From the command button: Click() method:
I wrote:
mpictfile=getpict()
if not empty(mpictfile)
appe general members.photo from (mpictfile) link
endif
this.refresh
When I ran the above event, I was shown a dialog box asking me to pick a .bmp file but after i'd selected a .bmp, file I got an error message:
variable mpictfile not found. OLE eror code 0x80040000a: Not able to
bind to the source
What does that means ? I'm currently using Visul Promatrix 5.0c and had written to them about the problem. They told me that it wasn't a technical Promatrix problem and didn't give me any solution but told me to refer to the VFP Developer's Guide. I couldn't find any error message in the guide book.How to get picture files into the gen field from a form ?
-----------------
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement