I'm having problems with an application I programmed in VB.NET environment that has to open an Excel file to fetch some data and then close it. The problem is that no matter what I do, in Windows' task manager the application is always there.
What the application does:
 EA = New Excel.Application
 OptionsSource = EA.Workbooks.Open(Filename:=myFileName, ReadOnly:=True)
 wks = OptionsSource.Worksheets(1)
 ' reads data from cells and stores it in an array
 wks = Nothing
 OptionsSource.Close()
 OptionsSource = Nothing
 EA.Quit()
 EA = Nothing
What I tried:
 GC.Collect() ' after the .Close(), but really I tried it everywhere
 Marshal.ReleaseComObject(Obj) ' after each Object
What I've seen do:
 Application.Exit() ' seems like I cannot use it somehow
What I could do (but I haven't yet figured out how):
 Process.Kill ' I'd have to find exactly the process that is started by EA = New Excel.Application and then kill it
What I cannot definitely do is to kill all the processes that are called "EXCEL" (I know how to do this, though).
How do I nuke my Excel.Application once and for all?
 
     
    