Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MS Word call from VFP8
Message
De
13/09/2006 14:35:37
 
 
À
13/09/2006 14:30:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
01153464
Message ID:
01153474
Vues:
16
>>>Greeting.
>>>
>>>I know this has been asked many times, but I can't remember where I can find the code.
>>>Please point me to an example of VFPx.x calling MS Word.
>>>
>>>TIA.
>>
>>How?
>>Just run WinWord.EXE or use automation to call and manipulate Word Documents?
>
>Thanks Borislav.
>
>the second one.
oWord = CREATEOBJECT([Word.Application])
*** 1. Open old document
oWord.Documents.Open([full path and name to existing Word document])

*** 2. Create a new Word document
oWord.Documents.Add()

.....
oWord.Documents.Save() ** Save document
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform