Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OLE Control of Word 97
Message
De
11/06/1997 20:28:58
 
 
À
11/06/1997 20:10:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00036000
Message ID:
00036013
Vues:
58
>Thanks Michel, I found some useful help screens, and I have most of it working now, except for printing. For anyone who wants to know, the following works with Word 97
>
>** these four lines work fine
>ox=createobject('word.document')
>ox.application.documents.open(thisfile) && thisfile=desired file surrounded by quotes
>ox.application.visible=.t.
>ox.application.activedocument.printpreview
>
>** this one doesn't, although the help states that this is the correct syntax
>ox.application.activedocument.printout

Glad you found the necessary information to make it work.

So, we now have to add documents to make it work. Would you like to add this one in the Knowledge Base FAQ section? It might be valuable for others.

Thanks.
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