Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Append General Command to Import .bmp file into gen field
Message
From
17/04/1998 00:44:12
Ong C.King
Computer Consultancy Services
Sungai Petani, Malaysia
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Append General Command to Import .bmp file into gen field
Miscellaneous
Thread ID:
00092758
Message ID:
00092758
Views:
91
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 ?

-----------------
Next
Reply
Map
View

Click here to load this message in the networking platform