public class ProcessList
{
public static void Main()
{
foreach (Process process in Process.GetProcesses())
{
Console.WriteLine(process.ProcessName);
}
Console.ReadLine();
}
}
Can you be specific as to what kind of error you get ?
Regards,
Kumar Gaurav Khanna
--
----------------------------------------------------------------------------
-------
I can't be garbage collected; I am pinned to .NET
----------------------------------------------------------------------------
-------
Microsoft MVP - .NET
WinToolZone - http://www.wintoolzone.com/
Spelunking Microsoft Technologies and my home on the web
OpSupport - Spelunking Rotor http://opsupport.sscli.net/