Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLE Control of Word 97
Message
From
11/06/1997 20:28:58
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00036000
Message ID:
00036013
Views:
62
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform