Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to stop VFP after Word.Document.Open() ?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01236033
Message ID:
01236227
Vues:
14
Another option would be
WshShell = CreateObject("WScript.Shell")
ReturnCode = WshShell.Run("c:\test.doc", 1, .t.)
MESSAGEBOX("finished")
Notice the messagebox does not appear until you close the word document.



>I need to modify document before send it to fax.

>
>oWord = createobject("word.application")
>oWord.visible = .t.
>oWord.Documents.Open("MyDocumentToModify")
>**************************
>&& I need to wait here
>**************************
>release oWord
>*********************************
>do sendtofax with "MyDocumentToModify"
>*********************************
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform