Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to stop VFP after Word.Document.Open() ?
Message
 
 
À
27/06/2007 12:37:39
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:
01236041
Vues:
28
>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"
>*********************************

You may simply use SLEEP API function or use Event Handler.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform