-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: Gaddam_Bhanu
Message 4 in Discussion



Here it goes,



1) Reference the ServiceController Component
from system.ServiceProcess

2) Create an object of ServiceController
,u need to give the machine name and the servicename in the construtor
or thru the properties

3)Use default method to stop ,start
the service checking after checking the status.Make sure that u refresh
after after any operation u do so that it can be        
 reflected for futhur processing in the code.



Bhanu










"Senthil-Maverick"
<[EMAIL PROTECTED]> 

08/04/2004 01:42 PM





Please respond to

"BDOTNET" <[EMAIL PROTECTED]>






To
"BDOTNET" <[EMAIL PROTECTED]>


cc



Subject
Re: Starting and Stopping
Windows services running in remote Systems

















New Message on BDOTNET





Starting
and Stopping Windows services running in remote Systems





Reply





 
Reply
to Sender   Recommend


Message 3 in Discussion







From:
Senthil-Maverick




hi bhanu 

can yu tell me in detail how to do this ???

 

,,,

Senthil 





View
other groups in this category. 






Also on MSN:

Start
Chatting |
Listen
to Music |
House
& Home |
Try
Online Dating |
Daily
Horoscopes 









To stop getting this e-mail, or change how often it arrives, go to your
E-mail
Settings. 



Need help? If you've forgotten your password, please go to Passport
Member Services. 

For other questions or feedback, go to our Contact
Us page. 



If you do not want to receive future e-mail from this MSN group, or if
you received this message by mistake, please click the "Remove"
link below. On the pre-addressed e-mail message that opens, simply click
"Send". Your e-mail address will be deleted from this group's
mailing list. 

Remove
my e-mail address from BDOTNET.




ForwardSourceID:NT00007936
   



-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/BDOTNET/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to