Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Talking to MS Word
Message
 
 
To
06/09/1997 03:32:19
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00048731
Message ID:
00048822
Views:
41
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform