Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reliable way to release Excel?
Message
De
21/10/2003 13:24:47
 
 
À
21/10/2003 13:19:47
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00840734
Message ID:
00840737
Vues:
20
>[SNIP]
>and the release x needs 2-3 seconds to execute.
>
>When I deleted the "release x" line, the form releases intantly.
>
>Do I miss anything? The excel's process is released correctly (i can't see it anymore in task manager).
>
>But if I execute in command window:
>
>
>x = createobject("excel.application")
>x.quit
>
>
>the process isn't released.
>
>Any help, please? How to write the code to release fast and safe the process?



I don't see that.
The following takes about 0.70 seconds for me.
clear
? Seconds()
x = createobject("excel.application")
x.quit
x=null
? Seconds()


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform