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

Click here to load this message in the networking platform