Click here to Skip to main content
15,896,606 members

Comments by rahul dev123 (Top 117 by date)

rahul dev123 18-Sep-13 13:20pm View    
Its showing not a valid OS application
rahul dev123 9-Sep-13 6:30am View    
please check my below code here kill process one by one on selecting the process, but i need to close all task from my listbox..so plz can u help me

Thanx in advance


Dim p As System.Diagnostics.Process

For Each p In System.Diagnostics.Process.GetProcesses()

Dim arr() As String = _
lstProcesses.SelectedItem.ToString().Split("-")

Dim sProcess As String = arr(0).Trim()
Dim iId As Integer = Convert.ToInt32(arr(1).Trim())

If p.ProcessName = sProcess And p.Id = iId Then
p.Kill()
End If

Next
rahul dev123 7-Sep-13 7:42am View    
Windows 7
rahul dev123 7-Sep-13 7:18am View    
plz can u help me how to find the process which cause the system shutdown..Thanks in advance
rahul dev123 7-Sep-13 7:16am View    
yes, actually i cant find out the process which cause my system shutdown