Page 2 of 2 <12
Topic Options
#40811 - 2003-05-28 12:51 AM Re: check if a service is running
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11625
Loc: CA
I'll leave it for noobies. Don't want them to confuse them with where/how lines can be broken.
Top
#40812 - 2003-05-28 12:55 AM Re: check if a service is running
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
jhansenjr, you must also realize that service name come in two flavors. short name as used in the registry services key and the display name.

Ths can be easily seen by using SCLIST.exe.

code:
Alerter                          Alerter
AppMgmt Application Management
aspnet_state ASP.NET State Service
Ati HotKey Poller Ati HotKey Poller
AutoProxyService Tyco Electronics AutoProxy Service
AvSynMgr AVSync Manager
BITS Background Intelligent Transfer Service
Browser Computer Browser

Some methods may want the short name and others may want the long name. Some don't care.

Here something not from Microsoft: http://www.jsifaq.com/SUBL/tip5900/rh5936.htm

[ 28. May 2003, 01:01: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#40813 - 2003-05-28 02:23 AM Re: check if a service is running
jhansenjr Offline
Fresh Scripter

Registered: 2002-08-31
Posts: 37
Loc: New Jersey
Thank you everyone for your help.
Top
Page 2 of 2 <12


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 581 anonymous users online.
Newest Members
Audio, Hoschi, Comet, rrosell, PatrickPinto
17880 Registered Users

Generated in 0.052 seconds in which 0.024 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org