Solved

Start/Stop Windows 2000 Service

Posted on 2001-09-18
4
206 Views
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.

Siva
0
Comment
Question by:NellaiSiva
4 Comments
 
LVL 15

Accepted Solution

by:
lyonst earned 100 total points
Comment Utility
Hi,

Is this what you are looking for ?

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

Cheers,

T.
0
 
LVL 69

Expert Comment

by:Éric Moreau
Comment Utility
0
 
LVL 49

Expert Comment

by:Ryan Chong
Comment Utility
<listening..>
0
 

Author Comment

by:NellaiSiva
Comment Utility
The code is working but I am looking for without Active DS Type library.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

728 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now