how to get process name from a process ID.. that will return a complete process name(e.g YAHOOMESENGER.exe) not that like msdos filename(e.g YAHOOM~1.exe) -- modified at 1:08 Tuesday 9th January, 2007
how to get process name from a process ID.. that will return a complete process name(e.g YAHOOMESENGER.exe) not that like msdos filename(e.g YAHOOM~1.exe) -- modified at 1:08 Tuesday 9th January, 2007
have you tried: Dim o As System.Diagnostics.Process = System.Diagnostics.Process.GetProcessById(2844) MsgBox(o.MainWindowTitle & "(" & o.ProcessName & ")")