Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Releasing Excel
Message
From
11/05/2005 01:38:26
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Releasing Excel
Environment versions
OS:
Windows XP
Miscellaneous
Thread ID:
01012715
Message ID:
01012715
Views:
84
XP, VFP7 and Excel 2000

I am having problems releasing the Excel object (process) after I have finished with the object. If I just create the object and then close again it works fine, but if I do anything like read a value or write to a sheet, in mosy instances it doesn't release the object properly (eg. If I use the Windows Taskmanager, the excel process will still be there).

I have read posts on this site, advising to ensure that I release the object after using oExcel.quit(), and even assigning null to the object variable, which I have followed to the letter, but still the process still hangs in the sytem.

Has anyone else any advise that may close the process after I have finished with it? Any help appreciated.

Regards
Darren
Next
Reply
Map
View

Click here to load this message in the networking platform