Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing a Word Document
Message
De
17/11/2000 19:44:28
 
 
À
17/11/2000 15:52:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00443225
Message ID:
00443326
Vues:
19
>>>>>>>>>>>>>>>>>>>>>>>
oDoc = oWord.Document.Add() resulted in a "Member DOCUMENT does not evaluate to an object" error. Am I supposed to supply some kind of parameter to it??? I tried a sring with the name of the file to print but got the same message.
>>>>>>>>>>>>>>>>>>>>>>>

oDoc = oWord.Document.Add() should'v been Documents.Add()
as Garrett corrcetly said.

>>>>>>>>>>>>>>>>>>>>>>>
>Assume that I want to print "Mydoc.doc" how would I do that.
>>>>>>>>>>>>>>>>>>>>>>>

oWord.Documents.Open("c:\files\Mydoc.doc") && add a fullpath

>>>>>>>>>>>>>>>>>>>>>>
Finally, so I don't have to keep bothering you and the other respondents, is there any documentation on the methods and properties of oWord.Application??? >>>>>>>>>>>>>>>>>>>>>>
MSDN has it.

I recommend you get "Microsoft Office Automation with Visual FoxPro" by Granor & Martin, Hentzenwerke Publishing (www.hentzenwerke.com)


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform