Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Killing Word when error occurs
Message
De
13/10/2014 03:17:57
 
 
À
13/10/2014 02:30:50
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01609217
Message ID:
01609219
Vues:
37
>I recently came across an issue that I can't seem to resolve.
>
>The current version of MS Word as expired, but I can still instantiate it using CREATEOBJECT.
>But I get a error that VFP can capture (via TRY).
>The message says
>
> "OLE IDispatch exception code 0 from Microsoft Word: The Add method or property is not available because the license to use this application has expired...."
>
>In the FINALLY block, I attempt to execute the QUIT method, but errors too
>Setting the object variable to NULL does not kill the running instance of Word in the Task Manager either.
>
>Any suggestion as to how the terminate the running Word instance?

Never mind, found the solution with KillProcess.prg
Greg Reichert
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform