Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How I can call winword methods or macros from foxpro program
Message
De
19/11/1999 13:25:10
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
How I can call winword methods or macros from foxpro program
Divers
Thread ID:
00293176
Message ID:
00293176
Vues:
84
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform