• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 195
  • Last Modified:

Process Class replacement for WIN 98

there are many of the functionalities of the process class that are limited to the NT platform (2000/XP). so here is the simple question:
how can i get process list and kill one of them in windows 98, lets say i want to kill all instances of IEXPLORER.EXE  how could you do that in C# under windows 98 or Me
0
saturn_one
Asked:
saturn_one
  • 2
1 Solution
 
cookreCommented:
Each of:

GetProcesses()
GetProcessesByName()
CloseMainWindow()
Kill()

claim to be supported in 98 an ME.


0
 
cookreCommented:
Process[] ProcInfo=System.Diagnostics.Process.GetProcessesByName("iexplore");
for (int i=0; i<ProcInfo.Length; i++)
    {
    ProcInfo[i].Kill();
    }

0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now