Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Killing Word processes
Message
De
19/07/2000 04:28:41
Paul Robinshaw
Silkworm Technologies Limited
Macclesfield, Royaume Uni
 
 
À
18/07/2000 11:04:52
Karl Zercoe
Titanium Software, Inc.
Houston, Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00389350
Message ID:
00394217
Vues:
15
Karl,

>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.

I went for the GetObject() method suggested earlier in this thread. Works really well.

Paul
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform