If you are using NET START for starting the service then you may use same command without Service name to obtain a list of all running services.
Main Topics
Browse All TopicsHi,
I'm writing a Foxpro application and I need to know how to Stop/Start/Check the Status of a Windows Service. I can do the stopping and starting by running DOS commands, but I'm not sure how to check the status.
Thanks,
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Probably better solution is here: http://www.berezniker.com/
Using Shell Application object did not work for me on Vista but Windows API is OK.
No. But, well, if intellisense does not show more, it helps to set a variable to some property/subobject and then intellisense will show more. For example loProperties = loService.Properties_, then loProperties shows an Items collection, and you can loop over that with FOR EACH again. This modified code does show all properties from AcceptPause to WaitHint. Besides that google Win32_Service and you'll find a list and descriptions on each property and method (eg StartService(), StopService()), too... http://msdn.microsoft.com/
Bye, Olaf.
Business Accounts
Answer for Membership
by: AndrewJenPosted on 2009-10-16 at 06:31:04ID: 25589309
You may be able to leverage the following Sysinternals utility, by evaluating its query function.
om/en-ca/s ysinternal s/ bb897542 .aspx
http://technet.microsoft.c
Andrew