Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP & Word Automation Commands
Message
De
24/02/2003 22:50:16
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
24/02/2003 22:30:28
Dick Day
Madison County, Nebraska
Nebraska, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00757384
Message ID:
00757387
Vues:
27
>Can anyone tell me where to find the Word automation commands that can be used when creating an OLE control object in VFP? The MSN Office 2000 download document has great examples for VB but nothing for VFP. I don't know enough about OLE or VB to know how to translate the examples into usable VFP code.
>
>I can open Word, create a document and quit and that's about the extent of my OLE knowledge eg. newapp=createobject("word.application") .
>
>Any and all suggestions would be greatly appreciated!
>
>Dick Day

I have more experience with Excel than with Word. My article on Excel Automation (http://www.levelextreme.com/Magazine/September2002/Page45.asp) might give you some ideas which you can then adapt to MS-Word.

You will probably have to get an object reference to the active document, and start working with that.

HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform