Hi, See below c# code. I just want to get any running iexplore process and trigger the boolean accordingly. but when i use argument to output the value of the boolean it wont work.
Process[] processlist = Process.GetProcessesByName("iexplore.exe");
bool Out_StillRunning = true;
do
{
foreach (Process p in processlist)
{
if (p.Equals("iexplore.exe"))
{
Out_StillRunning = true;
}
else
{
Out_StillRunning = false;
}
}
} while (Out_StillRunning = true);