Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How I can call winword methods or macros from foxpro program
Message
From
19/11/1999 13:25:10
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
How I can call winword methods or macros from foxpro program
Miscellaneous
Thread ID:
00293176
Message ID:
00293176
Views:
85
Please answer to question.
I am using Visual FoxPro 5.0 and Word 97.
Foxpro program activate Word and then open the document.
Hereinafter Foxpro program must send to Word-server command to select all the text of opened document and copy selected text into clipboard.
I understand that WHOLESTORY, SELECTALL - is a methods.
I don’t know how correctly calling this methods.
Code of my FoxPro program:
ox=createobject('word.document')
ox.application.documents.open(Alltrim(Thisform.text1.value))
ox.wholestory or ox.selectall !!! NOT WORKING

In wordbasic help is any example how can use this methods. But I don’t understand how can calling such methods from foxpro program.
Next
Reply
Map
View

Click here to load this message in the networking platform