that's a really big problem in using Excel Object. that was also my problem before
the only solution i know that will work in disposing the excel object is the kill the process itself
the code goes like these:
Dim myProcesses As Process() = Process.GetProc essesByName("EX CEL")
Dim myProcess As Process
For Each myProcess In myProcesses
myProcess.Kill( )
Next myProcess
Leave a comment: