Hi Joe!
See the VFP5 Getobject() function help! I never use it , but it discuss about your problem!
BB
>>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?
Précédent
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