Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OLE Control of Word 97
Message
De
11/06/1997 18:37:46
 
 
À
11/06/1997 18:36:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00036000
Message ID:
00036002
Vues:
37
>Does anyone know the commands to start Word 97, open a file, and then print it using OLE from Visual FoxPro? I can get it to work with older versions of Word, but with Word 97 I can only create the object, and make it visible. The code I am using is as follows:
>
>ox=createobject('word.document') && this works fine
>ox.application.visible=.t. && this also works
>ox.fileopen(thisfile) && this returns an unknown name error

Might it be possible that the syntax of thisfile as changed in Word 97?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform