Information générale
Titre:
Error when importing .bmp file to gen field
I'm working on a membership program that will include photos of members along with their personal data. The
members.dbf include a general field, photo. From a data entry form, a command button will invoke the click()
command as follow:
mpfile=getpict()
if !empty(mpfile)
appe general members.photo from (mpfile) link
this.refresh()
endif
When I ran the program, a dialog box opened for me to choose a .bmp file and when I selected a file (xxx.bmp) I
encountered an error:
Error # 1426:
OLE error code 0x8004000a: Not able to bind to the source.
I'm currently using Visual Promatrix 5.0c. Is it due to the Vbx libraries supplied by Visual Promatrix ? I didn't
encountered such problems before I used Visual Promatrix, while I was using VFP 3.0.
I had contacted Visual Promatrix but was told my problem wasn't a Promatrix technical one and was told to refer to
the VFP Developers' Guide.
Do you guys face this problem ?
Regards from: C.K.Ong
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