473,382 Members | 1,480 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Services (win-services) Description

Hi All!

I am trying to figure out how to get info about different services from
C#.NET.

If I open the Services Applet from Control Panel (WinXP), I have an
'Extended Tab', whitch gives me a description-string, something I don't get
using the framework's System.ServiceProcess.ServiceController object (among
other things it don't seem to give me...).

Anybody got an idea of how I to retrieve this (description-string) using the
framework or via API's?

I use NET 2002, (framework v1.0), WinXP.

TIA

Per Rollvang, MCP.
Please reply to the newsgroup.
Nov 15 '05 #1
2 1342
Hi,

I know this was an issue with V1.0 , I don;t remember if it was corrected
on 1.1, You will have to search the registry for it,
IIRC you will find it under
LocalMachine\System\CurrentControlSet\Services\Ser viceName\Description

Hope this help,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Per Rollvang" <pe*@rollvang.com> wrote in message
news:em**************@TK2MSFTNGP12.phx.gbl...
Hi All!

I am trying to figure out how to get info about different services from
C#.NET.

If I open the Services Applet from Control Panel (WinXP), I have an
'Extended Tab', whitch gives me a description-string, something I don't get using the framework's System.ServiceProcess.ServiceController object (among other things it don't seem to give me...).

Anybody got an idea of how I to retrieve this (description-string) using the framework or via API's?

I use NET 2002, (framework v1.0), WinXP.

TIA

Per Rollvang, MCP.
Please reply to the newsgroup.

Nov 15 '05 #2
I had hoped there was a more elegant solution, but it makes sense...

Thanks a lot, Ignacio.

-Per

"Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us> wrote
in message news:en**************@TK2MSFTNGP10.phx.gbl...
Hi,

I know this was an issue with V1.0 , I don;t remember if it was corrected
on 1.1, You will have to search the registry for it,
IIRC you will find it under
LocalMachine\System\CurrentControlSet\Services\Ser viceName\Description

Hope this help,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Per Rollvang" <pe*@rollvang.com> wrote in message
news:em**************@TK2MSFTNGP12.phx.gbl...
Hi All!

I am trying to figure out how to get info about different services from
C#.NET.

If I open the Services Applet from Control Panel (WinXP), I have an
'Extended Tab', whitch gives me a description-string, something I don't

get
using the framework's System.ServiceProcess.ServiceController object

(among
other things it don't seem to give me...).

Anybody got an idea of how I to retrieve this (description-string) using

the
framework or via API's?

I use NET 2002, (framework v1.0), WinXP.

TIA

Per Rollvang, MCP.
Please reply to the newsgroup.


Nov 15 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Larry Bates | last post by:
Anybody know what variable I need to define in my class to set the long description that shows up in the Services control panel applet? _svc_name_ holds the short name...
4
by: rbt | last post by:
How does one associate a "Description" with a Windows service written in Python? I've just started experimenting with Python services. Here's my code... copied straight from Mr. Hammond's "Python...
4
by: Niel | last post by:
Hello friends, I think this issue has been posted before but i have not been able to get any solution that is why i am posting it again in detail as to what exactly is happneing in my case. Hope...
1
by: Generic Usenet Account | last post by:
Most of the open source web-service products that I am reading about seem to require generation of client stub and server implementation ancestor classes from the WSDL file. The client application...
7
by: Mark | last post by:
I built the example application outlined in this artical: http://msdn.microsoft.com/library/default.asp? url=/library/en-us/dnservice/html/service02112003.asp There were a number of questions...
0
by: summer cwj via .NET 247 | last post by:
hi all, I want to parse the wsdl file . It is ease to parse the parts of wsdl except that the part of types. Because I don't know how to use the System.Web.Services.Description member types . I...
2
by: WRH | last post by:
Hello When I look at windows services with the Windows Administration tools Services utility (Win XP) I note that many services have a description field (2nd column). How can I add such a...
0
by: Amrit Kohli | last post by:
I am trying to get through the XML Web Services Walkthrough at this location: ...
4
by: hellrazor | last post by:
Hi there, I'm trying to consume a web-service that is supposed to return a collection of a custom object. The web-service was not created with C# or VS.net. It was created with IBM VisualAge...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.