Read properties of Windows Service from Windows Forms App

Hi everyone,

I believe this is possible as i think this is how anti-virus works, i
have created a windows service with a couple public readonly
properties and i would like to read these properties from a Windows
Forms application?


Is this possible?


I have made a windows service that reads and sends emails from a
message queue using a timer control. But because people log on and
log off of our server, i cannot have it as a windows forms
application, as it closes when you log off.


Can anyone point me in the right direction?? Thanks in advance
Nemisis [ Mi, 16 April 2008 12:56 ] [ ID #1943368 ]

Re: Read properties of Windows Service from Windows Forms App

Hello,

you need some sort of inter process communcation. Look into WCF or Remoting
for this.

Kind regards,
Henning Krause

"Nemisis" <darrens2005 [at] hotmail.com> wrote in message
news:1d00a95d-93d8-46e1-8c2a-16561ce29566 [at] p25g2000hsf.google groups.com...
> Hi everyone,
>
> I believe this is possible as i think this is how anti-virus works, i
> have created a windows service with a couple public readonly
> properties and i would like to read these properties from a Windows
> Forms application?
>
>
> Is this possible?
>
>
> I have made a windows service that reads and sends emails from a
> message queue using a timer control. But because people log on and
> log off of our server, i cannot have it as a windows forms
> application, as it closes when you log off.
>
>
> Can anyone point me in the right direction?? Thanks in advance
newsgroups_remove [ Do, 17 April 2008 01:09 ] [ ID #1944266 ]
Microsoft » microsoft.public.dotnet.general » Read properties of Windows Service from Windows Forms App

Vorheriges Thema: Using animations in an e-mail
Nächstes Thema: Could not load file ...