Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error when appending .bmp file to a general field
Message
From
18/04/1998 04:03:44
Ong C.King
Computer Consultancy Services
Sungai Petani, Malaysia
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Error when appending .bmp file to a general field
Miscellaneous
Thread ID:
00093138
Message ID:
00093138
Views:
90
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 (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
Reply
Map
View

Click here to load this message in the networking platform