I’m using the Excel interop and it seems to be creating a process every time I call
new Microsoft.Office.Interop.Excel.Application()
And never ending the process even though I call
xlApp.Quit();
How can I get the processes to end?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Are you releasing all of your references? (Which means you have to save them in the first place).
For example here’s what’s in my dispose from some excel interop():
(Not sure if this is perfect but it worked for me!)