Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word automation: how to wait for user to close MSWord ?
Message
 
À
28/05/2005 15:48:33
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 8
Database:
Visual FoxPro
Divers
Thread ID:
01018391
Message ID:
01018473
Vues:
14
>>I have a VFP routine that creates MSWord documents and then does one of the following
>>
>>- saves the doc
>>- saves and prints the doc
>>- prints and emails the doc
>>- saves, prints, and emails the doc
>>
>>I would like to modify the process to let the user edit the created document before selecting one of the options above. Is there a way to suspend VFP processing while the doc is being editing? And then return control to the program after the user is done editing?
>
>
>
>
>........
>
>** Here you want to Stop VFP
>
>DO WHILE TYPE("oWord.Name") == "C" .AND.;
>         NOT ISNULL(oWord)
>   DOEVENTS FORCE
>ENDDO
>
Cool!
Imagination is more important than knowledge
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform