Hello once again and I need some help. I am developing an automatic updating component to update one of my other apps in vb.net. The problem is that IFF an update is available, the update app has to be able to "kill" the app that is being updated. Note that the update app and program app are 2 separate projects and have no connection what so ever. I am wondering if there is a way to kill that program app's process from the update app. I have looked at several examples, but they start and stop the process in the code. I want to be able to search for a process by name and then kill it(NOT START AS IT IS ALREADY RUNNING). Any help is appreciated! (NOTE: Those who redirect to another link will not get best answer)
I have done something similar to this before. If I am understanding your requirements correctly then you need to use the GetProcess in the System.Diagnostic namespace. There is more information about it here: http://msdn.microsoft.com/en-us/library/system.diagnostics.process.kill.aspx.