Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

connecting windowsapplication to windowsservice 1

Status
Not open for further replies.

GSharp69

Programmer
Jan 27, 2008
9
BE
hi everybody,

i've made a windowsservice thats running on the server
i also have made a windowsapplication with some datagrids for data monitoring.

Now i want to add a button on a form of the windowsapplication so i can give commands to the windowsservice on the server?

Anyone has a good method for this? I already tried with a servicecontroller, this works but only for local services on the local pc and not for services on the server.

I've read something about remoting! Anyone has some explanation or good, clear examples about this? i've never done something like this

thx in advance

grtz

GSharp69
 
Remoting would be good. WCF would be good (although a lot heavier!). Named Pipes, sockets, MSMQ, or any other traditional inter-process communications mechanism will all work.

For remoting, there's a pretty good book called Advanced .NET Remoting by Ingo Rammer and Mario Szpuszta available.

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
i did it the remoting way
with my windows app to give startsign, my remoteobject between and as last my service which was pulsed by the remoteobject

it works nice i must say and fast actually

Thx for the help

grtz

GSharp69
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top