Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLE automation
Message
From
03/02/1997 12:30:13
 
 
To
03/02/1997 08:47:05
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00019119
Message ID:
00019149
Views:
32
>I want to find a list of properties for Word to make automation from VFP. I search on Microsoft site but didn't find the list. At this moment I am able to create a new document, insert text, format this text and save document but I don't know how to make word visible. In Excel the code is OExcel.visible = 1 but didn't work in with Word.
>
>
>Thanks Michel

Word is a bit weird because it doesn't use VBA (it was added to Word 97). You need to use WordBasic before the new version. There should be a WordBasic help file that will give you this information....by the way, OWord.Visible = 1 won't work. You really don't have access to properties. You do it all by calling functions. Something like oWord.Visible().

Craig
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform