Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Killing Word processes
Message
De
18/07/2000 11:04:52
Karl Zercoe
Titanium Software, Inc.
Houston, Texas, États-Unis
 
 
À
07/07/2000 05:25:00
Paul Robinshaw
Silkworm Technologies Limited
Macclesfield, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00389350
Message ID:
00393828
Vues:
16
I am also working on a app that automates Word. I ran across the same problem. My Word automation is driven from a form. I made the Word pointer a public variable, although a form property would be more oops, and in the Destroy event of the form I always check if Word is still running and if so I close it at that time. The user must close to exit the application which will fire the destroy event and release Word. This approach is nice because it does not matter how the form is closed.

This will catch everything except for a VFP application crash and has worked well in practice so far.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform