Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word.PrintOut() fail
Message
De
20/03/1998 14:03:15
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Word.PrintOut() fail
Divers
Thread ID:
00086072
Message ID:
00086072
Vues:
71
Here's the code:
loWord = GETOBJECT(, "Word.Application")
loword.documents.open("c:\temp\test.doc")
loword.activeprinter = "WinFax on LPT1:"
loword.ActiveDocument.MailMerge.Destination = 0
loword.activedocument.MailMerge.SuppressBlankLines = .T.
loword.activedocument.MailMerge.Execute()
loword.activedocument.printout()   && <-- Error!
loword = NULL
rele loword
The program stop at the PrintOut() method call with a "OLE error code XXX. Type mismatch".

Any ideas?

TIA
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform