Information générale
Catégorie:
COM/DCOM et OLE Automation
>Tamar, (great book on Microsoft Office Automation BTW)
>
>Code as follows
>
>*!* Word section
>oWord = CreateObject([Word.Application])
>oDocument = oWord.Documents.Open(lcFilename)
>
>oWord.Options.PrintBackGround = .F.
>oDocument.PrintOut()
>oDocument.Close()
>oWord.Quit()
>RELEASE oWord
>
I just tried your example (except that I created a new document and threw some text in it), and it printed without any UI at all. What exactly are you seeing?
Tamar
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