Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reliable way to release Excel?
Message
De
21/10/2003 13:19:47
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Reliable way to release Excel?
Divers
Thread ID:
00840734
Message ID:
00840734
Vues:
39
Hello, everyone

I had a small but annoying problem:

Is there a way to quit excel without problems?

I tried:

x = createobjecT("excel.application")
do some work here
x.quit
release x

and

x.quit
x = null
release x

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?
Grigore Dolghin
Class Software.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform