Start/Stop Windows 2000 Service

Hello experts,

I am having API to Start/Stop Windows NT Services from VB. But the same is not working with Windows 2000 Server/Professional. Is there any API to start/stop Windows 2000 Service in VB?. If yes, please give me the solution.

Siva
NellaiSivaAsked:
Who is Participating?
 
lyonstConnect With a Mentor Commented:
Hi,

Is this what you are looking for ?

http://www.vb2themax.com/Item.asp?PageID=CodeBank&ID=392

Cheers,

T.
0
 
Éric MoreauSenior .Net ConsultantCommented:
0
 
Ryan ChongCommented:
<listening..>
0
 
NellaiSivaAuthor Commented:
The code is working but I am looking for without Active DS Type library.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.