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
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 51

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
passing parameter in sql procedure 9 65
using web browser with BING 40 132
Automatic Email Reminder 4 58
VB script to continue despite error 2 16
Introduction While answering a recent question ( in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

830 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