Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Append General Command to Import .bmp file into gen field
Message
De
17/04/1998 00:44:12
Ong C.King
Computer Consultancy Services
Sungai Petani, Malaisie
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Append General Command to Import .bmp file into gen field
Divers
Thread ID:
00092758
Message ID:
00092758
Vues:
92
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
Fil
Voir

Click here to load this message in the networking platform