Start/Stop Windows 2000 Service

Posted on 2001-09-18
Last Modified: 2010-05-02
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.

Question by:NellaiSiva
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 15

Accepted Solution

lyonst earned 100 total points
ID: 6492007

Is this what you are looking for ?


LVL 70

Expert Comment

by:Éric Moreau
ID: 6492107
LVL 52

Expert Comment

by:Ryan Chong
ID: 6492167

Author Comment

ID: 6492579
The code is working but I am looking for without Active DS Type library.

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question