I have the following (snippet) to Create and inastance of Excel from within a BackgroundWorker.
After I do the Excel thing, I do:Code:Dim oExcel As Excel.Application = DirectCast(CreateObject("Excel.Application"), Excel.Application)
Except Excel is still pressent in Task Manager until I close the App????Code:If IsNothing(oExcel) = False Then oExcel.Quit() oExcel = Nothing End If
(The above code executes)
Confussed!




Reply With Quote