VB.NET 使用Microsoft.Office.Interop进行EXCEL操作时彻底关闭EXCEL进程
ImportsSystem.Runtime.InteropServicesImportsMicrosoft.Office.InteropPublicClass关闭EXCEL''TODO:在此处添加构造函数逻辑'PublicSubNew()EndSub_PublicSharedFunctionGetWindowThreadProcessId(hwndAsIntPtr,ByRefIDAsInteger