![]() |
|
|
|||||||
![]() |
ASP Net - closing Excel when using COM Interop |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
excel object not getting killed even after calling
System.Runtime.InteropServices.Marshal.ReleaseComO bjec. Is there any workaround Vikram |
|
|
|
|
#2 |
|
Posts: n/a
|
You must explicitly destroy all objects related to Excel, as in this example:
http://SteveOrr.net/articles/ExcelExport.aspx The above link also shows better ways of dealing with Excel files from ASP.NET since COM interop is not recommended. -- I hope this helps, Steve C. Orr MCSD, MVP http://SteveOrr.net "Vikram" wrote: > excel object not getting killed even after calling > System.Runtime.InteropServices.Marshal.ReleaseComO bjec. Is there any > workaround > > > =?Utf-8?B?U3RldmUgQy4gT3Jy?= |
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Referencing Cell Color In Microsoft Excel | CVBartosh | General Help Related Topics | 0 | 10-03-2008 01:37 PM |
| How to run a Excel Macro from the Java application? | Kiranu | General Help Related Topics | 0 | 09-12-2007 02:11 PM |
| Uploading Excel file into sql table | shalim | Software | 1 | 10-31-2006 08:57 AM |
| OLYMPIC GAMES ATHENS 2004 Opening Ceremony 2 DVDs, Closing Ceremony 2 DVDs, and EURO 2004 ( 6 DVDs ) , THE MATCHES OF THE GREEK NATIONAL FOOTBALL TEAM, DURING THE PANEUROPEAN FOOTBALL CHAMPIONSHIPS 'EURO 2004' IN THE FOOTBALL STADIUMS IN PORTUGAL, W | Zorba.GR | DVD Video | 0 | 10-29-2004 05:45 PM |
| DVD Verdict reviews: EXCEL SAGA: IMPERFECT COLLECTION and more! | DVD Verdict | DVD Video | 0 | 09-02-2004 10:08 AM |