Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Simple Word 97 OLE question
Message
From
08/04/1999 22:15:47
 
 
To
08/04/1999 14:54:19
Dave Nantais
Light speed database solutions
Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00205808
Message ID:
00206743
Views:
19
>>There are a couple of things you
>>might need to know. I'v worked
>>pretty hard on trying to make
>>sense of Word OLE.
>>
>>1. The help file is really no help
>>at all, but it's VBAWRD8.HLP in case
>>your interested. The examples are all
>>in VB.
>
>
>>
>>2. The constants used in the help are many!
>cant you step through the code and put the constants in a watch window to see what values you should use in your VFP code?
>it is a pain ... but atleast you know the correct values...
>
>>They come from office and outlook. I have emailed
>>them to you.
>>
>>Don't hesitate to ask if you need more help.
>
>is there good printed documentation available that describes the "Word" and "Excel" object structure
>you supposedly get this doc with the developer's edition of Office97
>but i do not want to pay $750(Cdn) just for this documentation.
>
>what i am looking for is a good $75 printed manual covering the object structure of Word,Excel,Powerpoint, and discussing basic programming concepts etc.
>
>TIA
>Dave.

Both Word and Excel's (probably PowerPoint too, I've never looked) object structures can be observed in their respecive VBA Editors. In both tools, you can go to Tool->Macros->VBA editor. After opening, press F2 to see an object browser. the values of all office constants can be found by typing in the constant in hte search box, and then seeing its value in the box on the bottom. Usually the help for the various methods lists the parameters in the correct order so you can directly translate to VFP's ordinal parameter scheme.
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform