Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLE Control of Word 97
Message
From
11/06/1997 18:36:19
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
OLE Control of Word 97
Miscellaneous
Thread ID:
00036000
Message ID:
00036000
Views:
93
Does anyone know the commands to start Word 97, open a file, and then print it using OLE from Visual FoxPro? I can get it to work with older versions of Word, but with Word 97 I can only create the object, and make it visible. The code I am using is as follows:

ox=createobject('word.document') && this works fine
ox.application.visible=.t. && this also works
ox.fileopen(thisfile) && this returns an unknown name error

TIA

Rick
Next
Reply
Map
View

Click here to load this message in the networking platform