Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to reference an OLE object created at design time
Message
From
03/01/2003 02:20:23
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
How to reference an OLE object created at design time
Miscellaneous
Thread ID:
00737618
Message ID:
00737618
Views:
69
I have a 'word.application' OLE object (OLEControl) on my form that was created at design time. My basic problem is how to use the object. How do I get to use the DOCUMENTS.ADD() method. I have no problem if i instantiated the object using CREATEOBJECT() but i don't want to create the object at run-time. The OLEControl's name is OLE1. Is it ok if i say something like THISFORM.OLE1.OBJECT.DOCUMENTS.ADD() or THISFORM.OLE1.OBJECT.SELECTION.TYPETEXT('Hello OLE')
OMAR C. IBRAHIM
----------
Programmer
STUDENT RECORDS & INFORMATION SYSTEM (SRIS)
Western Mindanao State University, Philippines
----------
Programmer
SSI Engineering & Architectural Designs and IT Center (SENARD ITC)
Zamboanga City, Philippines
Next
Reply
Map
View

Click here to load this message in the networking platform