Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with Word automation
Message
From
04/08/2000 12:54:28
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00401169
Message ID:
00401175
Views:
19
>Want to open a Word document from within VFP 6.0 and then perform a mail merge. If everything is not just so (like data source does not have data, it can not recognize *.dbf files automatically), Word produces some messagebox which returns and OLE error code in VFP. I do not know how to handle these errors in VFP. Also, is there anyway for Word to show the messageboxes in my VFP app? Seemed that Excel would show the messagebox in my app.
>
>Where can I find more information on Word automation in VFP?

In the MSDN Library - the Office 2000 Developer's documentation. There's a new book out from Hentzenwerke that covers Automation in VFP. There are tons of articles in back issues of FoxTalk and FoxPro Advisor. And there's a mail merge class in the FFC of VFP6 that handles managing mail merges with Word.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform