Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Alternative to OLE linking (causing huge memo files)?
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00305133
Message ID:
00305193
Views:
23
>Can anyone give me an example of how this can be done?
>
>Are there any other alternatives?

David,

In order to show how this can be done you would need to tell us what you are trying to do with the BMP that you have in the general field.

Basically, you add a MyBmp field C(60), you may make it larger or smaller depending on the path to your bmp files. In the MyBmp field you store the path and file anme for the bmp file that is associated with the record, as "\BMPS\MyImage.bmp". Note I am using relative pathing from the home directory of the application here, it makes life easier.

If you want to assign the bmp image to an Image control named Image1 in a form, in the form's Init you can;
SELECT Whatever
Thisform.Image1.Picture = Whatever.MyBmp
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform