Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Talking to MS Word
Message
 
 
À
06/09/1997 03:32:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00048731
Message ID:
00048822
Vues:
36
>Hi!
>
>Probably, you should use OLE Automation instead of DDE...
>
>Have a happy day
>Vladimir Shevchenko
>
>> I have no problem talking to Word (once it is running) to make pretty
>> 1) Run it from within VFP 5

I AM using OLE automation...
For example:
oWord = CREATEOBJECT("Word.Basic") && Get a reference to Word
oWord.FileOpen("filename of master merge file")
oWord.MailMergeToDoc && To do the actual mailmerge
oWord=null && Disconnect

But I still don't understand how to detect if Word is already running and second how to run it once I determine that it is not...

Anybody else?
Independant Foxpro Developer
Spring Hill, FL
jpirola@tampabay.rr.com
352/686-8373
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform