Tutorials
Resources
Forum
Communities
Interview
Jobs
Projects
Offshore Development
Silverlight Tutorials
|
Mentor
|
Code Converter
|
Articles
|
Code Factory
|
Computer Jokes
|
Members
|
Peer Appraisal
|
IT Companies
|
Bookmarks
|
Revenue Sharing
|
Prizes & Awards
My Profile
Sign In
Register
AdSense Revenue
Active Members
Today
Bunty
(87)
Pradeep Y
(70)
syed shakeer ...
(66)
Last 7 Days
amarababu nara...
(1208)
Arun Jacob
(1204)
Pradeep Y
(1170)
more...
New Feature:
Community Sites
:
Create your own .NET community website and start earning from Google AdSense !
It's Free !
how to kill other running processes in system
Posted Date:
05 Sep 2008
Total Responses:
1
Posted By:
ashok
Member Level:
Bronze
Points
: 1
Hi all,
i have developed an windows application and in a list box am able to get the currently running processes in my PC.
Now i want to kill the process selected from the list box.
Please give any clues to do so.
Thanks,
Ashok
Responses
Author:
avtar
05 Sep 2008
Member Level:
Gold
Rating:
Points
: 3
try this
private void KillmyProcess()
{
Process[] myProcesses = Process.GetProcessesByName("myProcess");
if (myProcesses.Length == 1)
myProcesses[0].Kill();
}
Post Reply
You must
Sign In
to post a response.
Next :
Job in Sqlserver
Previous :
confusion..whats the default value of char in c#?
Return to Discussion Forum
Post New Message
Category:
.NET
Related Messages
what is difference between String and string(data type) in c#?
what is a resource file...
Horizontal Scroll Bar for a listview control
sql querry
sql querry interview question
dotNet Slackers
BizTalk Adaptors
Web Design
it support
Contact Us
Privacy Policy
Terms Of Use