Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Store multiple documents in binary fields
Message
 
 
To
03/09/2004 12:17:11
Victor Chigne
Inteliventas
Peru
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00938594
Message ID:
00939177
Views:
15
The OLE object can be either linked or embeded. The ADD() method creates embeded OLE object. To create linked OLE object, drug & drop file on the RTF control.

>It opens any office file into the RTB control, I mean, it opens the word or Excel file in edit mode inside the control. I'd like to have it embebbed as an Icon.
>
>Any help?
>THIA
>>Victor,
>>
>>You can use the Add() method of OLEObjects collection.
>>lcFile = GETFILE()
>>t_rtf.oRtf.oBJECT..OLEObjects.Add(,,lcFile)
>>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform