IE6 remains active in the taskmanager even after I turn the program off on the desktop. If I restart IE, it starts a second process in the taskmanager. This causes a problem starting Flash pages and obviously use up resourses. Can anyone help?

Recommended Answers

All 2 Replies

String n= "iexplorer";
Process[] prs = Process.GetProcesses();
foreach (Process p in prs)
{
if (p.ProcessName == n)
{
p.Kill();
goto y;
}
}
y: this.Dispose();
String n= "iexplorer";
        Process[] prs = Process.GetProcesses();
        foreach (Process p in prs)
        {
            if (p.ProcessName == n)
            {
                p.Kill();
                goto y;
            }
        }
    y: this.Dispose();

Unless you give some explanation of what you want, no-one can help you.
You also need to post in the correct forum and use code tags.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.