Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: how to differentiate and kill process


Message #1 by "Sampath, Ramanujam (Cognizant)" <SRamanuj@c...> on Thu, 17 Oct 2002 17:29:53 +0530
Hi all...

I want to know how to kill a process in .Net (vb.net and C#).... Waht i
exactly do is.. on click of a button i call an exe say abc.exe thro shell.
Now i want to know how do i kill a process. 

I also want to know if this happens thro a web browser... button click
event.. the process starts.. 
say there are 10 clieents viewing the same page at different locations....
each and every one may click the button and i need to know how do i
differentiate all that process... say when a second person clicks the button
i want to know how to kill the process started by client1..... and so on.. 

more aptly want to know 1. how to differentiate old processes and 
			2. also want to know how to kill them

thanx in advance......

==============================
S.Ramanujam
Programmer Analyst
Cognizant Technology Solutions (p) Ltd. - CTS
38 & 39 Whites Road,
WCB - Whites Road Circular Building
Royapettah, Chennai - 600014
Ph : +xx xx xxx xxxx Extn 5129 [Off]
     : +xx xx xxx xxxx                 [Res]


Message #2 by "Gehres Weed" <gehres@t...> on Thu, 17 Oct 2002 06:21:53 -0600
Why would you need or want to "kill" the process in the first place?
Just curious.

GWeed

-----Original Message-----
From: Sampath, Ramanujam (Cognizant) [mailto:SRamanuj@c...]
Sent: Thursday, October 17, 2002 6:00 AM
To: ASP+
Subject: [aspx] how to differentiate and kill process


Hi all...

I want to know how to kill a process in .Net (vb.net and C#).... Waht i
exactly do is.. on click of a button i call an exe say abc.exe thro shell.
Now i want to know how do i kill a process.

I also want to know if this happens thro a web browser... button click
event.. the process starts..
say there are 10 clieents viewing the same page at different locations....
each and every one may click the button and i need to know how do i
differentiate all that process... say when a second person clicks the button
i want to know how to kill the process started by client1..... and so on..

more aptly want to know 1. how to differentiate old processes and
			2. also want to know how to kill them

thanx in advance......

==============================
S.Ramanujam
Programmer Analyst
Cognizant Technology Solutions (p) Ltd. - CTS
38 & 39 Whites Road,
WCB - Whites Road Circular Building
Royapettah, Chennai - 600014
Ph : +xx xx xxx xxxx Extn 5129 [Off]
     : +xx xx xxx xxxx                 [Res]



---

ASP.NET 1.0 Namespace Reference with C#
http://www.wrox.com/acon11.asp?ISBN=1861007442

ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450

These books are a complete reference to the ASP.NET namespaces
for developers who are already familiar with using ASP.NET.
There is no trivial introductory material or useless .NET
hype and the presentation of the namespaces, in an easy-to use
alphabetical order ensures a user-friendly reference format.
We provide in-depth coverage of all the major ASP.NET classes,
giving you those real-world tips that the documentation doesn't
offer, and demonstrating complex techniques with simple
examples.

---


Message #3 by "Sampath, Ramanujam (Cognizant)" <SRamanuj@c...> on Thu, 17 Oct 2002 17:48:23 +0530
because the service runs in the webserver.... i want to kill it before the
second user starts it... pls let me know if u have an answer....

keep me posted

==============================
S.Ramanujam
Programmer Analyst
Cognizant Technology Solutions (p) Ltd. - CTS
38 & 39 Whites Road,
WCB - Whites Road Circular Building
Royapettah, Chennai - 600014
Ph : +xx xx xxx xxxx Extn 5129 [Off]
     : +xx xx xxx xxxx                 [Res]


-----Original Message-----
From: Gehres Weed [mailto:gehres@t...]
Sent: Thursday, October 17, 2002 5:52 PM
To: ASP+
Subject: [aspx] RE: how to differentiate and kill process


Why would you need or want to "kill" the process in the first place?
Just curious.

GWeed

-----Original Message-----
From: Sampath, Ramanujam (Cognizant) [mailto:SRamanuj@c...]
Sent: Thursday, October 17, 2002 6:00 AM
To: ASP+
Subject: [aspx] how to differentiate and kill process


Hi all...

I want to know how to kill a process in .Net (vb.net and C#).... Waht i
exactly do is.. on click of a button i call an exe say abc.exe thro shell.
Now i want to know how do i kill a process.

I also want to know if this happens thro a web browser... button click
event.. the process starts..
say there are 10 clieents viewing the same page at different locations....
each and every one may click the button and i need to know how do i
differentiate all that process... say when a second person clicks the button
i want to know how to kill the process started by client1..... and so on..

more aptly want to know 1. how to differentiate old processes and
			2. also want to know how to kill them

thanx in advance......

==============================
S.Ramanujam
Programmer Analyst
Cognizant Technology Solutions (p) Ltd. - CTS
38 & 39 Whites Road,
WCB - Whites Road Circular Building
Royapettah, Chennai - 600014
Ph : +xx xx xxx xxxx Extn 5129 [Off]
     : +xx xx xxx xxxx                 [Res]



---

ASP.NET 1.0 Namespace Reference with C#
http://www.wrox.com/acon11.asp?ISBN=1861007442

ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450

These books are a complete reference to the ASP.NET namespaces
for developers who are already familiar with using ASP.NET.
There is no trivial introductory material or useless .NET
hype and the presentation of the namespaces, in an easy-to use
alphabetical order ensures a user-friendly reference format.
We provide in-depth coverage of all the major ASP.NET classes,
giving you those real-world tips that the documentation doesn't
offer, and demonstrating complex techniques with simple
examples.

---



---

ASP.NET 1.0 Namespace Reference with C#
http://www.wrox.com/acon11.asp?ISBN=1861007442

ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450

These books are a complete reference to the ASP.NET namespaces 
for developers who are already familiar with using ASP.NET. 
There is no trivial introductory material or useless .NET 
hype and the presentation of the namespaces, in an easy-to use 
alphabetical order ensures a user-friendly reference format.
We provide in-depth coverage of all the major ASP.NET classes, 
giving you those real-world tips that the documentation doesn't 
offer, and demonstrating complex techniques with simple 
examples.  

---


  Return to Index