Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GetObject(' word document ')
Message
De
26/07/2004 17:44:15
 
 
À
26/07/2004 17:19:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00928086
Message ID:
00928107
Vues:
21
Try
loObject = GETOBJECT(,"word.application")
loObject.Documents.Open("c:\doc1.doc")

Denis

>I am writing an application in VFP7 that needs to create, save, open for modification, and then email numerous MS Word documents. Once I create (mailmerge) and save the docs, I want to open them one at a time in Word and let the user tweak them and save/close them. I don't want to restart Word every time, but GetObject doesn't "Open" the document. I've been all through my Hentzenwerke MS Office Automation with VFP book but I can't seem to solve this.
>
>Any help would be greatly appreciated,
>Larry Morelli
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform