Click here to Skip to main content
15,891,567 members
Home / Discussions / C#
   

C#

 
GeneralAbout Software .exe Pin
Isaac Gordon28-May-09 0:17
Isaac Gordon28-May-09 0:17 
GeneralRe: About Software .exe Pin
OriginalGriff28-May-09 0:27
mveOriginalGriff28-May-09 0:27 
GeneralRe: About Software .exe Pin
Tom Deketelaere28-May-09 0:29
professionalTom Deketelaere28-May-09 0:29 
GeneralRe: About Software .exe Pin
Rajesh R Subramanian28-May-09 0:54
professionalRajesh R Subramanian28-May-09 0:54 
GeneralRe: About Software .exe Pin
Tom Deketelaere28-May-09 1:27
professionalTom Deketelaere28-May-09 1:27 
GeneralRe: About Software .exe Pin
EliottA28-May-09 3:18
EliottA28-May-09 3:18 
GeneralRe: About Software .exe Pin
Searril28-May-09 5:24
Searril28-May-09 5:24 
QuestionPassing multiple Machines to ServiceController Pin
Kunal Pandya28-May-09 0:10
Kunal Pandya28-May-09 0:10 
Hi Guys,

Is it possible to pass multiple machine names to the ServiceController[]?

I'm basically trying to develop an application that will pull out a list of machines / IPs and windows service names from a SQL query so multiple services can be stopped / started at once. As there is a large number of services across multiple servers try to improve the control.

Now I tried passing the resultset into the "ServiceController.GetServices(IPs)" but the argument only returns the first machine name. I'm not sure if this can be done using an arraylist perhaps? (Quite new to C# so just trying to find my feet)

Is it also possible to limit the services shown i.e not all services on the machine?

Many thanks in Advance...
AnswerRe: Passing multiple Machines to ServiceController Pin
Dave Kreskowiak28-May-09 4:31
mveDave Kreskowiak28-May-09 4:31 
QuestionAccessing peoplesoft api from dotnet Pin
BabuRao.k28-May-09 0:01
BabuRao.k28-May-09 0:01 
AnswerRe: Accessing peoplesoft api from dotnet Pin
Rajesh R Subramanian28-May-09 0:03
professionalRajesh R Subramanian28-May-09 0:03 
Questiontool tip size Pin
michaelgr127-May-09 22:23
michaelgr127-May-09 22:23 
AnswerRe: tool tip size Pin
ScottM127-May-09 22:32
ScottM127-May-09 22:32 
GeneralRe: tool tip size Pin
michaelgr127-May-09 22:36
michaelgr127-May-09 22:36 
GeneralRe: tool tip size Pin
ScottM127-May-09 22:44
ScottM127-May-09 22:44 
QuestionGap detection Pin
viciouskinid27-May-09 22:16
viciouskinid27-May-09 22:16 
AnswerRe: Gap detection Pin
Rob Philpott28-May-09 0:02
Rob Philpott28-May-09 0:02 
QuestionProperty or indexer 'string.this[int]' cannot be assigned to -- it is read only Pin
Mohammad Dayyan27-May-09 22:16
Mohammad Dayyan27-May-09 22:16 
AnswerRe: Property or indexer 'string.this[int]' cannot be assigned to -- it is read only Pin
OriginalGriff27-May-09 22:26
mveOriginalGriff27-May-09 22:26 
GeneralRe: Property or indexer 'string.this[int]' cannot be assigned to -- it is read only Pin
Mohammad Dayyan27-May-09 22:30
Mohammad Dayyan27-May-09 22:30 
GeneralRe: Property or indexer 'string.this[int]' cannot be assigned to -- it is read only Pin
Mohammad Dayyan27-May-09 22:33
Mohammad Dayyan27-May-09 22:33 
AnswerRe: Property or indexer 'string.this[int]' cannot be assigned to -- it is read only Pin
Calla27-May-09 22:41
Calla27-May-09 22:41 
GeneralRe: Property or indexer 'string.this[int]' cannot be assigned to -- it is read only Pin
OriginalGriff27-May-09 22:58
mveOriginalGriff27-May-09 22:58 
AnswerRe: Property or indexer 'string.this[int]' cannot be assigned to -- it is read only Pin
Simon P Stevens27-May-09 22:34
Simon P Stevens27-May-09 22:34 
AnswerRe: Property or indexer 'string.this[int]' cannot be assigned to -- it is read only Pin
harold aptroot28-May-09 1:11
harold aptroot28-May-09 1:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.