Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GetObject(' word document ')
Message
From
26/07/2004 17:44:15
 
 
To
26/07/2004 17:19:58
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00928086
Message ID:
00928107
Views:
22
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
Previous
Reply
Map
View

Click here to load this message in the networking platform