G
Guest
A VB2003 application upgraded to VB2005 that builds an Excel spreadsheet.
Everything appears to work correctly except that the Excel object does not go
away it is still in the Process list in task manager.
This problem did not exist in the VB2003 version.
Are there a any ideas of what might be happening?
All of the Excel objects are being disposed of by setting them to Nothing
and the Quit method is called for Excel. I've even used the
System.Runtime.InteropServices.Marshal.ReleaseComObject method as well as the
WaitForPendingFinalizers method and nothing seems to effect this.
At the applications END statement an error shows of "ObjectDisposedException
was not handled".
Everything appears to work correctly except that the Excel object does not go
away it is still in the Process list in task manager.
This problem did not exist in the VB2003 version.
Are there a any ideas of what might be happening?
All of the Excel objects are being disposed of by setting them to Nothing
and the Quit method is called for Excel. I've even used the
System.Runtime.InteropServices.Marshal.ReleaseComObject method as well as the
WaitForPendingFinalizers method and nothing seems to effect this.
At the applications END statement an error shows of "ObjectDisposedException
was not handled".