Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLE automation
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00019119
Message ID:
00019134
Views:
34
>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

Check out the resources at

www.microsoft.com/oledev/oleauto

Most OLE automation enabled applications have what's called an extended map which lists all the objects, methods, events, properties of that application and how they are related. Many of these maps are at this site, although they are too small to be seen on the screen and must be downloaded and viewed in a an application that can zoom into pictures (most are in WMF or EPS format, yuck)

Now the nice solution is the object browser. It comes with both MS Acesss 95 and VBA (visual basic for applications). This allows you to load an olb file (Object library) which is where all this is stored. Then you can look at each component and click on the ? command to get help on the syntax.

Now for the $1,000,000 question. Why the #^$*& isn't Object Browser included in Visual FoxPro. Do they think VFP programmers don't do OLE automation, or just that were so smart we know all the objects, methods, events, and properties and their syntax for the dozen or more OLE automation enabled applications.
Todd Burstain, MD
infinitydoc@delphi.com
Previous
Reply
Map
View

Click here to load this message in the networking platform