Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27514

VS 2010 Is there a way to kill EXCEL.exe process which is running in background?

$
0
0
Hi, I'm having a problem in one of the program tool that i'm using. This tool actually encrypts excel workbook to user-defined format and it will have to open the workbook to perform the encryption. The problem of this tool is whenever the encryption is done, it will have EXCEL.exe running in the background process and cannot be terminated using Task Manager or Process Explorer. Sometimes it will create multiple instances of the EXCEL.exe and each of the instance holding up ~25mb of memory and this slow down my PC performance and I'm having problem in shutting down my laptop. I have no control of this tool as it was created by another developer and i think he did not dispose/close properly the instances after the encryption.

So my question is, is there anyway we can write a program in VB.NET to dispose/close the EXCEL.exe process? So once we ran the encryption tool, we will ran this program to force close all the EXCEL.exe process that left behind from the encryption program.

Please advise.

Viewing all articles
Browse latest Browse all 27514

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>