Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GetObject(' word document ')
Message
From
27/07/2004 09:02:00
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
26/07/2004 17:19:58
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00928086
Message ID:
00928251
Views:
20
>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

Larry,
FWIW do not use GetObject() but CreateObject(). In practice, for MS word, you still have one word instance.
OTOH when you mailmerge to a doc you only have a single document having all mails merged.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform