Couldn't you write a batch file using Net commands (IE: NET STOP or NET START, etc). then execute the batch file from the code ... provided you had the proper permissions? batch file like so: net stop "Simple Mail Transport Protocol (SMTP)" net stop "World Wide Web Publishing service" net stop "FTP Publishing Service" net stop "IIS Admin Service" net start "IIS Admin Service" net start "FTP Publishing Service" net start "World Wide Web Publishing service" net start "Simple Mail Transport Protocol (SMTP)" echo "WEB is up and running"
>>> [EMAIL PROTECTED] 08/08/2005 1:46:54 PM >>> I have looked on google for information and found a couple but they are all in C#. What I want to do is to be able to STOP / START / RESTART a windows server on a server from and asp.net page. I am using VB.net. STOP BUTTON Stops service START BUTTON Starts Service RESTART BUTTON Restarts Service That's what is on my webform.............. Just need to create the code to do it........................ Yahoo! Groups Links [Non-text portions of this message have been removed] ------------------------ Yahoo! Groups Sponsor --------------------~--> <font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12hh2lqo5/M=362131.6882499.7825260.1510227/D=groups/S=1705006764:TM/Y=YAHOO/EXP=1123541489/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org ">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy</a>.</font> --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
