Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.
Dim RC As String = TextBox1.Text Dim taskID As String = listview2.selecteditems (doesnt work), (when i replace with "4784", it works) Dim theScope As New ManagementScope("\\" & RC & "\root\cimv2") Dim objectQuery As New ObjectQuery(String.Concat("SELECT * FROM Win32_Process WHERE ProcessID='", taskID, "'")) For Each managementObject As ManagementObject In (New ManagementObjectSearcher(theScope, objectQuery)).[Get]() managementObject.InvokeMethod("Terminate", Nothing) Next End Sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.