Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reliable way to release Excel?
Message
From
21/10/2003 13:19:47
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Reliable way to release Excel?
Miscellaneous
Thread ID:
00840734
Message ID:
00840734
Views:
37
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.
Next
Reply
Map
View

Click here to load this message in the networking platform