Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Print Status / Mode
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00963863
Message ID:
00964200
Vues:
17
Fantastic! Thanks Yuri

>
>....
>   .. .Printout(0)   && or .Printout(.f.), continue while printing
>    									
>declare Sleep in Win32api integer
>do while !empty(.. .Application.BackgroundPrintingStatus)
>		=Sleep(1000)
>enddo
>......
>
>
>>Hi all,
>>
>>I am doing this:
>>
>>**- Start Word
>>loWord = CreateObject("Word.Application")
>>
>>**- Open a file
>>loWord.Documents.Open("filename.ini")
>>
>>**- Print It
>>loWord.ActiveDocument.PrintOut()
>>
>>**- Close document
>>loWord.ActiveDocument.Close()
>>
>>**-Would like to confirm printing is done somewhere here then
>>
>>**- Quit
>>**loWord.Quit()
>>
>>I would like to check word has completed printing before I quit.
>>
>>Any clues please?
>>
>>Thanks
>>
>>Mathias
Mathias Banda

Time is longer than a rope.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform