>>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.
I added it. When I get the printing piece to work, I'll put that it also.
Thanks again for your help
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement