Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Excel process staying 'alive'
Message
 
 
À
27/05/2009 09:11:44
Aldrich Arendsz
Gamma Research Inc.
Aruba
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01402211
Message ID:
01402213
Vues:
95
This message has been marked as the solution to the initial question of the thread.
>Dear All,
>
>When I instantiate excel from the VFP Command window, do stuff, then do a loExcel.quit() Indeed it'll quit, but process will stay (in the windows task manager). Then if I do loExcel = '' (we're still in the VFP command window), I see the process disappear from the processes list.
>
>I tried this in a method, but unfortunately the process will stay in the Processes list.
>
>What can I do programmatically, to resolve this issue.
>
>Thx in advance.
>
>Aldrich Arendsz

Try
loExcel.Quit()
loExcel = null
release loExcel 
to be 99.95% sure.
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