?
Solved

Process Class replacement for WIN 98

Posted on 2005-03-22
4
Medium Priority
?
193 Views
Last Modified: 2010-04-16
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
Comment
Question by:saturn_one
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 22

Expert Comment

by:cookre
ID: 13608591
Each of:

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

claim to be supported in 98 an ME.


0
 
LVL 22

Accepted Solution

by:
cookre earned 750 total points
ID: 13608622
Process[] ProcInfo=System.Diagnostics.Process.GetProcessesByName("iexplore");
for (int i=0; i<ProcInfo.Length; i++)
    {
    ProcInfo[i].Kill();
    }

0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses
Course of the Month11 days, 8 hours left to enroll

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question