Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Programmatic transfer of graphic from Xcel to VFP table.
Message
De
11/08/2000 17:13:10
 
 
À
13/07/2000 02:48:25
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00388237
Message ID:
00404165
Vues:
15
Sorry to be dense, but I need a few more details with your hint to understand how this helps me import a graphic from an object within an excel workbook. Could you expand a little?


>
>APPEND GENERAL x from c:\vfp7\fox.bmp
>
>Where x is the field name.
>
>Dave
>


>

>>I have an excel workbook that has a few graphic objects linked to cells.
>>
>>I can manually grab these objects with cut'n paste special and place them into general fields without trouble. The dialog allows me to copy the graphics as metafiles - which VFP seems to deal with in some native way (rather than associating them with the original app that created them). The manual method works well, and I'm able to create forms and reports that display the graphics as desired.
>>
>>Now I need to be able to do this programmatically.
>>
>>Using the VB editor help files, I've gleaned enough knowledge about excel objects to be able to find the Worksheet.OLEOBJECTs that I'm interested in, but I'm still not sure how to copy them to general fields, since the APPEND GENERAL doesn't seem rich enough to specify objects as the source of the append.
>>
>>And I cannot figure out how to programmatically copy the object as a picture metafile - which seems like a good way to store it.
>>
>>Help!
"The Iron Fish: The water is cold...but the fish don't mind"
...Jay Jenks, boyhood chum
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform