Hi, I want to kill a exe from windows task manager. I used WMI. Following is the code Killprocess = "CPR_GUI.exe" Set ProcessList = GetObject("winmgmts://.").InstancesOf("win32_process...
Hey Gennadiy thanks, it worked, the .exe was not needed. Thanks for it. Once it took longer to close the exe i think the OB was not refreshed. Need to refresh it before terminating.