Information générale
Catégorie:
COM/DCOM et OLE Automation
Just a thought,
If you are you quitting Word after each print out, try to keep it open till the program terminates printing all the pages.
>I'm using VFP 7 SP1 and MS Word 2000 on a Windows 2000 platform. My application uses a table with a list of Word documents in it. The application creates an instance of Word, loads a Word type document, prints it, closes the document, then tells Word to quit. The problem I'm having is that everything works just fine except the Word print command.
>
>The first document will sometimes print, the rest will not. The exception occurs when I'm in the VFP debugger stepping slowly through the code. Then all the document print just fine.
>
>Strange as this sounds, it looks as though my VFP code is OK. Commands get sent to Word, but it looks like VFP is almost going too fast, and Word doesn't keep up.
>
>Can someone please point me in the right direction here? Thanks in advance!
>
>Bill
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